What is the `ntpdate -q` alternative in Windows?
I was trying to remotely diagnose an issue with NTP on a customer VoIP device. Everything looked good on the phone but I didn’t have an easy way of checking on this.
Turns out there is a program called w32tm which helped out perfectly:
w32tm /stripchart /computer:ntp.provu.co.uk
I could ping the ntp server fine but after seeing connection timeouts on the above command, it looked like there was a firewall rule on the customer network which was causing the problems.