<?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: Checking VMware NTP configuration with Powershell</title>
	<atom:link href="http://www.peetersonline.nl/index.php/vmware/checking-vmware-ntp-configuration-with-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.peetersonline.nl/index.php/vmware/checking-vmware-ntp-configuration-with-powershell/</link>
	<description>Using Powershell for (virtually) everything!</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:41:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Josh A</title>
		<link>http://www.peetersonline.nl/index.php/vmware/checking-vmware-ntp-configuration-with-powershell/comment-page-1/#comment-10790</link>
		<dc:creator>Josh A</dc:creator>
		<pubDate>Wed, 07 Oct 2009 18:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=288#comment-10790</guid>
		<description>I recently needed to check settings as well as determine if the NTPD service was running.

Get-VMHost &#124; Select-Object Name,@{Name=&quot;NTPServer&quot;;Expression={$_ &#124; Get-VMHostNtpServer}}, @{Name=&quot;NTPRunning&quot;;Expression={($_ &#124; Get-VMHostService &#124; Where-Object {$_.key -eq &quot;ntpd&quot;}).Running}} &#124; Sort-Object -Property &quot;NTPRunning&quot;, &quot;NTPServer&quot;

I used this to generate a report and added some extra script to fix incorrect settings (also works to change NTP server setting) as well as restart NTPD service if it has stopped.

I have the full script available at:
http://day2dayadmin.blogspot.com/2009/10/ntp-powershell-its-about-time.html

and on the PowerCLI VMware community.</description>
		<content:encoded><![CDATA[<p>I recently needed to check settings as well as determine if the NTPD service was running.</p>
<p>Get-VMHost | Select-Object Name,@{Name=&#8221;NTPServer&#8221;;Expression={$_ | Get-VMHostNtpServer}}, @{Name=&#8221;NTPRunning&#8221;;Expression={($_ | Get-VMHostService | Where-Object {$_.key -eq &#8220;ntpd&#8221;}).Running}} | Sort-Object -Property &#8220;NTPRunning&#8221;, &#8220;NTPServer&#8221;</p>
<p>I used this to generate a report and added some extra script to fix incorrect settings (also works to change NTP server setting) as well as restart NTPD service if it has stopped.</p>
<p>I have the full script available at:<br />
<a href="http://day2dayadmin.blogspot.com/2009/10/ntp-powershell-its-about-time.html" rel="nofollow">http://day2dayadmin.blogspot.com/2009/10/ntp-powershell-its-about-time.html</a></p>
<p>and on the <a href="http://communities.vmware.com/community/developer/windows_toolkit" target='_blank'>PowerCLI</a> <a href="http://www.vmware.com/" target='_blank'>VMware</a> community.
<p style="opacity:0.5;padding:0;margin:0;display:inline;"><sub><a href="http://www.janhvizdak.com/make-donation-cross-linker-plugin-wordpress.php" onclick="window.open('http://www.janhvizdak.com/make-donation-cross-linker-plugin-wordpress.php'); return false;" target="_blank" style="cursor:help;"><b>&#187;crosslinked&#171;</b></a></sub></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henk</title>
		<link>http://www.peetersonline.nl/index.php/vmware/checking-vmware-ntp-configuration-with-powershell/comment-page-1/#comment-10764</link>
		<dc:creator>Henk</dc:creator>
		<pubDate>Tue, 06 Oct 2009 20:15:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=288#comment-10764</guid>
		<description>Whoops add-VMHostNtpServer is there to the rescue!
:)</description>
		<content:encoded><![CDATA[<p>Whoops add-VMHostNtpServer is there to the rescue!<br />
:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henk</title>
		<link>http://www.peetersonline.nl/index.php/vmware/checking-vmware-ntp-configuration-with-powershell/comment-page-1/#comment-10762</link>
		<dc:creator>Henk</dc:creator>
		<pubDate>Tue, 06 Oct 2009 20:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.peetersonline.nl/?p=288#comment-10762</guid>
		<description>If only there was a Set-VMHostNtpServer....
Keep up the goods!</description>
		<content:encoded><![CDATA[<p>If only there was a Set-VMHostNtpServer&#8230;.<br />
Keep up the goods!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

