<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ross' Cogitations &#187; Server</title>
	<atom:link href="http://ross-family.org/blog/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://ross-family.org/blog</link>
	<description>Thoughts on theology &#38; technology.</description>
	<lastBuildDate>Fri, 30 Jul 2010 22:35:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Server Inventory Script</title>
		<link>http://ross-family.org/blog/2009/08/05/server-inventory-script/</link>
		<comments>http://ross-family.org/blog/2009/08/05/server-inventory-script/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 22:08:39 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Inventory]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[VBS rename]]></category>
		<category><![CDATA[WSH]]></category>

		<guid isPermaLink="false">http://ross-family.org/blog/?p=98</guid>
		<description><![CDATA[As a consultant, many times I need to quickly gain information about the Windows servers in an environment. I&#8217;ve finally put something together to try and make my life easier. It is a script that opens Microsoft Excel, sets column definitions that seem useful to me, then populates the spreadsheet with a bunch of data.  [...]]]></description>
			<content:encoded><![CDATA[<p>As a consultant, many times I need to quickly gain information about the Windows servers in an environment. I&#8217;ve finally put something together to try and make my life easier. It is a script that opens Microsoft Excel, sets column definitions that seem useful to me, then populates the spreadsheet with a bunch of data.  The data is gathered from every Windows server that is a member of the Active Directory domain you specify.  Specifically, it gathers:</p>
<ol>
<li>Server Name</li>
<li>Whether the server is online (ping&#8217;able) or not</li>
<li>OS</li>
<li>Service Pack</li>
<li>Manufacturer</li>
<li>Model</li>
<li>Serial Number</li>
<li>Whether it is a domain controller</li>
<li>Whether it is a DNS server</li>
<li>Whether it is a DHCP server</li>
<li>Whether it is a WINS server (yes there are still a few of those)</li>
<li>Whether it is a MSCS cluster node</li>
<li>Whether it is an Exchange server</li>
<li>What applications are installed (excluding Security Updates and Hotfixes)</li>
<li>Whether WMI could be connected to</li>
</ol>
<h2>Dependencies</h2>
<ul>
<li>Microsoft Excel (any later version is fine)</li>
<li>Sysinternals PSTools</li>
<li>Admin rights on every server in the domain (Domain Admin rights would be easiest)</li>
</ul>
<p>I wanted to use WMI exclusively but unfortunately it is very unreliable, therefore the script heavily depends on 2 PSTools (PSInfo and PSService).  You will need to <a title="Download PSTools" href="http://download.sysinternals.com/Files/PsTools.zip" target="_blank">download those</a> and place them in a directory on the PC you run the script from.</p>
<h2>Edits</h2>
<p>The only lines you need to edit are 15 and 16, where you enter in your domain name (follow the format example!) and the path to your PSTools directory.</p>
<pre>'your domain below
strDom = "DC=ACME,DC=COM"
pstoolsPath = "c:\Tools\pstools"</pre>
<p>You can download the text of the script <a title="FindServers Script" href="http://files.ross-family.org/FindServers.txt" target="_blank">here</a> or a zip file with the script <a title="Download FindServers.zip" href="http://files.ross-family.org/FindServers.zip" target="_blank">here</a>.  I hope others find it helpful.  As always, use this solution <strong>at your own risk</strong>.  If you have problems with the script, comment on the post and I will help when I have time.</p>
]]></content:encoded>
			<wfw:commentRss>http://ross-family.org/blog/2009/08/05/server-inventory-script/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
