Pages: [1]
Print
Author Topic: Get NTP information from each host  (Read 1409 times)
dma0211
Newbie
*
Posts: 15


View Profile
« on: January 14, 2009, 07:39:56 AM »

Code:
Get-VMHost | % {Get-View $_.ID} | %{$_.name; $NTPs = $_.config.datetimeinfo.ntpconfig; foreach ($NTP in $NTPs){$NTP.server}}
« Last Edit: January 14, 2009, 07:50:00 AM by esarakaitis » Logged
esarakaitis
Administrator
Sr. Member
*****
Posts: 256


8223109 sack57@hotmail.com littleking57 rootinfortwayne
View Profile WWW Email
« Reply #1 on: January 14, 2009, 07:50:13 AM »

very nice!
Logged
Pages: [1]
Print
Jump to: