w32tm

Query and control the w32time time synchronization service. More information: https://learn.microsoft.com/windows-server/networking/windows-time-service/windows-time-service-tools-and-settings.

w32tm /query /status /verbose

w32tm /stripchart /computer:time_server

w32tm /stripchart /packetinfo /samples:1 /computer:time_server

w32tm /query /peers

w32tm /query /configuration

w32tm /resync /force

w32tm /debug /enable /file:path\to\debug.log /size:10000000 /entries:0-300