<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Active Directory and WMI: VBscript to enumerate the system uptime of all servers in Active Directory V2</title>
	<atom:link href="http://vbscriptblog.com/vbscript/active-directory-and-wmi-vbscript-to-enumerate-the-system-uptime-of-all-servers-in-active-directory-v2/feed/" rel="self" type="application/rss+xml" />
	<link>http://vbscriptblog.com/vbscript/active-directory-and-wmi-vbscript-to-enumerate-the-system-uptime-of-all-servers-in-active-directory-v2/</link>
	<description>Scripting for Windows Sysadmins</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:29:37 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Manuel</title>
		<link>http://vbscriptblog.com/vbscript/active-directory-and-wmi-vbscript-to-enumerate-the-system-uptime-of-all-servers-in-active-directory-v2/#comment-2283</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Mon, 17 Oct 2011 19:16:17 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=654#comment-2283</guid>
		<description>Hello Dirk, 
The scripts returns only &quot;SERVERNAME does not reply&quot;.
Do you know why or what it is missing from my part?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello Dirk,<br />
The scripts returns only &#8220;SERVERNAME does not reply&#8221;.<br />
Do you know why or what it is missing from my part?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dirk adamsky</title>
		<link>http://vbscriptblog.com/vbscript/active-directory-and-wmi-vbscript-to-enumerate-the-system-uptime-of-all-servers-in-active-directory-v2/#comment-150</link>
		<dc:creator>dirk adamsky</dc:creator>
		<pubDate>Wed, 06 Apr 2011 10:58:21 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=654#comment-150</guid>
		<description>Hi Vijay,

with this script you can find the uptime of a single server:
[sourcecode language=&quot;vb&quot;]
strComputer = &quot;srv001&quot;
Set dateTime = CreateObject(&quot;WbemScripting.SWbemDateTime&quot;)
Set objWMIService = GetObject(&quot;winmgmts:\&quot; &amp; strComputer &amp; &quot;rootcimv2&quot;)
Set colOperatingSystems = objWMIService.ExecQuery(&quot;Select * from Win32_OperatingSystem&quot;)
For Each objOS in colOperatingSystems
    dateTime.Value = objOS.LastBootUpTime
	wscript.echo dateTime.GetVarDate
Next
[/sourcecode]

Please replace &quot;srv001&quot; with your servername.
The other questions will be answered later..

Best regards,

Dirk Adamsky</description>
		<content:encoded><![CDATA[<p>Hi Vijay,</p>
<p>with this script you can find the uptime of a single server:</p>
<pre class="brush: vb; title: ; notranslate">
strComputer = &amp;quot;srv001&amp;quot;
Set dateTime = CreateObject(&amp;quot;WbemScripting.SWbemDateTime&amp;quot;)
Set objWMIService = GetObject(&amp;quot;winmgmts:\&amp;quot; &amp;amp; strComputer &amp;amp; &amp;quot;rootcimv2&amp;quot;)
Set colOperatingSystems = objWMIService.ExecQuery(&amp;quot;Select * from Win32_OperatingSystem&amp;quot;)
For Each objOS in colOperatingSystems
    dateTime.Value = objOS.LastBootUpTime
	wscript.echo dateTime.GetVarDate
Next
</pre>
<p>Please replace &#8220;srv001&#8243; with your servername.<br />
The other questions will be answered later..</p>
<p>Best regards,</p>
<p>Dirk Adamsky</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vijay</title>
		<link>http://vbscriptblog.com/vbscript/active-directory-and-wmi-vbscript-to-enumerate-the-system-uptime-of-all-servers-in-active-directory-v2/#comment-149</link>
		<dc:creator>Vijay</dc:creator>
		<pubDate>Tue, 29 Mar 2011 08:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://deludi.nl/blog/?p=654#comment-149</guid>
		<description>Hello Mate,
Script is awesome!!! 
I request you to do some more modification, so that it will help people like me..(Monthly Reporting)
Date function (30days  and 31days)
Calling server names from Txt File..
And a HTML  or Excel out put with the details (Percentage of uptime, uptime in  Hours and Days).
Thanks a lot in advance..
VJ.</description>
		<content:encoded><![CDATA[<p>Hello Mate,<br />
Script is awesome!!!<br />
I request you to do some more modification, so that it will help people like me..(Monthly Reporting)<br />
Date function (30days  and 31days)<br />
Calling server names from Txt File..<br />
And a HTML  or Excel out put with the details (Percentage of uptime, uptime in  Hours and Days).<br />
Thanks a lot in advance..<br />
VJ.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

