<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hey, Scripting Guy! How Can I List the Members of a Domain Group That Belongs to the Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/19/how-can-i-list-the-members-of-a-domain-group-that-belongs-to-the-local-administrators-group.aspx</link><description>Hey, Scripting Guy! I manage over 300 servers in our environment. For each server I need to determine the members of the local Administrators account. It’s easy to get a list of local users and domain users that belong to the Admin account; it’s also</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hey, Scripting Guy! How Can I List the Members of a Domain Group That Belongs to the Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/19/how-can-i-list-the-members-of-a-domain-group-that-belongs-to-the-local-administrators-group.aspx#3497429</link><pubDate>Fri, 11 May 2012 10:13:25 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3497429</guid><dc:creator>S.E.</dc:creator><description>&lt;p&gt;nigelapt,&lt;/p&gt;
&lt;p&gt;you have several choices for looping around servers. You can call the script multiple times with server name as a parameter. You can build logic to fetch names from a text file or even an excel file.&lt;/p&gt;
&lt;p&gt;For excel output, that&amp;#39;s also not very hard. If you look around (google is your friend) you&amp;#39;ll find several resolutions to this.&lt;/p&gt;
&lt;p&gt;teo,&lt;/p&gt;
&lt;p&gt;invest more time in searching (or learn how to search effectively). You&amp;#39;ll definitely find it.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3497429" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! How Can I List the Members of a Domain Group That Belongs to the Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/19/how-can-i-list-the-members-of-a-domain-group-that-belongs-to-the-local-administrators-group.aspx#3389998</link><pubDate>Thu, 24 Feb 2011 22:03:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3389998</guid><dc:creator>teo</dc:creator><description>&lt;p&gt;@nigelapt&lt;/p&gt;
&lt;p&gt;Seriously. &amp;nbsp;I&amp;#39;ve scoured the internet on how to do this.... In what real world scenario would you ever need to pull this list from ONE server. &amp;nbsp;Multiple servers is obviously where the real need lies.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m so frustrated at trying to find this solution. And after all this searching it just seems amazing to me that no one has answered this problem yet.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3389998" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! How Can I List the Members of a Domain Group That Belongs to the Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/19/how-can-i-list-the-members-of-a-domain-group-that-belongs-to-the-local-administrators-group.aspx#3332385</link><pubDate>Thu, 13 May 2010 12:30:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3332385</guid><dc:creator>nigelapt</dc:creator><description>&lt;p&gt;Thanks a lot for this script.&lt;/p&gt;
&lt;p&gt;I have just started scripting and this is exactly what I need.&lt;/p&gt;
&lt;p&gt;However is it possible to make it loop around a list of servers? &amp;nbsp;And also output to an excel file. &lt;/p&gt;
&lt;p&gt;I need a format like this:&lt;/p&gt;
&lt;p&gt;Server Name, &amp;nbsp;Memberships,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3332385" width="1" height="1"&gt;</description></item></channel></rss>