Musings of a PowerShell Mad Man
PowerShell, VMware, and anything else I find interesting or keep forgetting
Showing posts with label
ntp
.
Show all posts
Showing posts with label
ntp
.
Show all posts
Wednesday, October 5, 2011
Which NTP server has been configured (and used) for Windows 2008R2
Quick one to remember:
Which NTP server has been configured:
w32tm /query /configuration
Which NTP server is actually being used for the last poll:
w32tm /query /status
Sunday, February 27, 2011
Setting 2008R2 NTP from the commandline
There I was, happily configuring a new Windows 2008R2 server, when I wanted to set the NTP hosts.
net time /setsntp:"ntpserver1,ntpserver2"
Error! It appears the command has changed since Windows 2008. It turns out to be the following now:
W32tm /config /syncfromflags:manual /manualpeerlist:ntpserver1,ntpserver2
Oh well, gotta remember that one.
Older Posts
Home
Subscribe to:
Posts (Atom)