<?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>How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/11/07/how-can-i-list-all-the-sites-in-active-directory-as-well-as-all-the-servers-in-those-sites.aspx</link><description>Hey, Scripting Guy! How can I list all the sites in Active Directory as well as all the servers in those sites? -- DW 
 Hey, DW. You know, you’re putting us to the test here. Ask us a question about users and groups and we’re fine; we at least kind of</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/11/07/how-can-i-list-all-the-sites-in-active-directory-as-well-as-all-the-servers-in-those-sites.aspx#3521356</link><pubDate>Thu, 20 Sep 2012 13:24:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3521356</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;What about all computers in a site? &amp;nbsp;This is great, but it&amp;#39;s only listing the DCs for me.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3521356" width="1" height="1"&gt;</description></item><item><title>re: How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/11/07/how-can-i-list-all-the-sites-in-active-directory-as-well-as-all-the-servers-in-those-sites.aspx#3463115</link><pubDate>Thu, 03 Nov 2011 16:09:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3463115</guid><dc:creator>Jean-Claude TX</dc:creator><description>&lt;p&gt;Hey script guys.. &amp;nbsp;How about one step further?&lt;/p&gt;
&lt;p&gt;A listing of sites, and all the replication links that those sites are contained in..&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3463115" width="1" height="1"&gt;</description></item><item><title>re: How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/11/07/how-can-i-list-all-the-sites-in-active-directory-as-well-as-all-the-servers-in-those-sites.aspx#3362274</link><pubDate>Fri, 15 Oct 2010 16:01:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3362274</guid><dc:creator>Rav</dc:creator><description>&lt;p&gt;I appreciate your effort in writing this script.&lt;/p&gt;
&lt;p&gt;This is exactly what I was looking for. However I want the output in a text file and I do not have any scripting knowledge. Could anyone add the code to the existing script so that output is in a text file.&lt;/p&gt;
&lt;p&gt;Much appreciated!!&lt;/p&gt;
&lt;p&gt;Rav&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3362274" width="1" height="1"&gt;</description></item><item><title>re: How Can I List All the Sites in Active Directory as well as All the Servers in Those Sites?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/11/07/how-can-i-list-all-the-sites-in-active-directory-as-well-as-all-the-servers-in-those-sites.aspx#3359304</link><pubDate>Fri, 01 Oct 2010 16:46:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3359304</guid><dc:creator>John Kelly</dc:creator><description>&lt;p&gt;Very nice. Love you style and wit. By now you guys must be friggin Geniuses.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3359304" width="1" height="1"&gt;</description></item></channel></rss>