Set Timezone Using PowerShell
-
Use
Get-TimeZone
to Get the Time Zone in PowerShell -
Use
Set-TimeZone
to Set the Time Zone in PowerShell -
Use
tzutil
to Set the Time Zone in PowerShell

A time zone is a geographic area where the same standard time is used. It is essential to set the correct time zone in the system. You can easily set or change the time zone from the Date & Time settings.
This tutorial will teach you to set the time zone using PowerShell.
Use Get-TimeZone
to Get the Time Zone in PowerShell
The Get-TimeZone
cmdlet displays the current time zone used on the system.
Get-TimeZone
Output:
Id : Nepal Standard Time
DisplayName : (UTC+05:45) Kathmandu
StandardName : Nepal Standard Time
DaylightName : Nepal Daylight Time
BaseUtcOffset : 05:45:00
SupportsDaylightSavingTime : False
The -ListAvailable
parameter prints the list of all available time zones, and you can only set the time zone from the available time zones displayed on the output.
Get-TimeZone -ListAvailable
Use Set-TimeZone
to Set the Time Zone in PowerShell
The Set-TimeZone
cmdlet sets the system time zone to the given time zone. You can set the time zone by using either the Id
or Name
properties.
Set the time zone by Id
.
Set-TimeZone -Id "Greenwich Standard Time"
It sets the system time zone to the Greenwich Standard Time.
Get-TimeZone
Output:
Id : Greenwich Standard Time
DisplayName : (UTC+00:00) Monrovia, Reykjavik
StandardName : Greenwich Standard Time
DaylightName : Greenwich Daylight Time
BaseUtcOffset : 00:00:00
SupportsDaylightSavingTime : False
Set the time zone by Name
.
The -Name
parameter must match the StandardName
or DaylightName
properties of the target time zone. The Id
and Name
of the time zone do not always match.
Set-TimeZone -Name "Coordinated Universal Time"
It sets the system time zone as the Coordinated Universal Time.
Get-TimeZone
Output:
Id : UTC
DisplayName : (UTC) Coordinated Universal Time
StandardName : Coordinated Universal Time
DaylightName : Coordinated Universal Time
BaseUtcOffset : 00:00:00
SupportsDaylightSavingTime : False
Use tzutil
to Set the Time Zone in PowerShell
It is another method to set the time zone in PowerShell.
The /g
parameter displays the system’s current time zone.
tzutil /g
It only displays the Id
of the time zone.
Output:
UTC
The /l
parameter displays the list of all available time zone IDs and displays names.
tzutil /l
Set the system time zone by using the /s
parameter. It takes only one argument, i.e., time zone Id
.
tzutil /s "Fiji Standard Time"
It sets the system time zone to the Fiji Standard Time.
tzutil /g
Output:
Fiji Standard Time
The /?
parameter displays the usage information at the terminal.
tzutil /?