mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 14:02:44 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
37
tldr/windows/w32tm
Normal file
37
tldr/windows/w32tm
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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>.
|
||||
|
||||
- Show the current status of time synchronization:
|
||||
|
||||
`w32tm /query /status /verbose`
|
||||
|
||||
- Show a time offset graph against a time server:
|
||||
|
||||
`w32tm /stripchart /computer:{{time_server}}`
|
||||
|
||||
- Show an NTP reply from a time server:
|
||||
|
||||
`w32tm /stripchart /packetinfo /samples:1 /computer:{{time_server}}`
|
||||
|
||||
- Show the state of the currently used time servers:
|
||||
|
||||
`w32tm /query /peers`
|
||||
|
||||
- Show configuration of the w32time service (run in elevated console):
|
||||
|
||||
`w32tm /query /configuration`
|
||||
|
||||
- Force time resynchronization immediately (run in elevated console):
|
||||
|
||||
`w32tm /resync /force`
|
||||
|
||||
- Write w32time debug logs into a file (run in elevated console):
|
||||
|
||||
`w32tm /debug /enable /file:{{path o\debug.log}} /size:{{10000000}} /entries:{{0-300}}`
|
||||
Reference in New Issue
Block a user