Set Windows 2012 R2 NTP settings using PowerShell
Set Windows 2012 R2 NTP settings using PowerShell
Enable NTP and restart service
1
2
3
4
5
PS C:\Users\Administrator> w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL
コマンドは正しく完了しました。
PS C:\Users\Administrator> Stop-Service w32time
PS C:\Users\Administrator> Start-Service w32time
Configure time zone
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PS C:\Users\Administrator> tzutil /l
(UTC-12:00) International Date Line West
Dateline Standard Time
(UTC-11:00) Coordinated Universal Time-11
UTC-11
(UTC-10:00) Aleutian Islands
Aleutian Standard Time
(UTC-10:00) Hawaii
Hawaiian Standard Time
....
(UTC+09:00) Chita
Transbaikal Standard Time
(UTC+09:00) Osaka, Sapporo, Tokyo
Tokyo Standard Time
(UTC+09:00) Pyongyang
North Korea Standard Time
(UTC+09:00) Seoul
Korea Standard Time
1
PS C:\Users\Administrator> tzutil /s "Tokyo Standard Time"
This post is licensed under
CC BY 4.0
by the author.