Читать книгу Windows Server 2022 & Powershell All-in-One For Dummies - Sara Perrott - Страница 78
SETTING THE TIME ZONE FROM POWERSHELL
ОглавлениеIf you prefer to work in PowerShell, you can also set the time zone from there. This utilizes the control command to call the Control Panel’s Date and Time screen.
In PowerShell, type the following:
Set-TimeZone -Id <Time Zone Id>
If you aren’t sure what your time zone ID is, you can run Get-TimeZone -ListAvailable
to see all the time zones you can choose from.