在Windows XP中更改时间和时区的Powershell命令

问题描述 投票:0回答:1

如何从Windows XP的Powershell更改时间和时区。我需要一个powershell命令来更改Windows XP中的时间和时区。

我使用([System.TimeZoneInfo] :: Local).Id查看当前时区,并尝试使用tzchange / C“ Nepal Standard”更改时区,但未更改。

现在我需要两个命令来更改时间,另一个需要通过powershell更改Windows XP的时区

windows powershell command windows-xp
1个回答
0
投票

尝试执行命令行抛出Powershell,如我所知,命令行有几种解决方案。

其中一个是:

cmd /c "c:\windows\system32\rundll32.exe shell32.dll,Control_RunDLL %SystemRoot%\System32\timedate.cpl,,/Z Eastern Standard Time"
© www.soinside.com 2019 - 2024. All rights reserved.