PowerShell, Server, Windows

Get and Set Timezones via PowerShell

As published in my Technet Gallery Script Center here, you can get current timezones remotely via PowerShell with Get-Timezones. Get-Timezones is using WMI to communicate with your servers.

This will give you following output:



With Set-Timezone you can set timezones remotely. If you need to disable automatic daylight saving time you can add the additional parameter DSTOff.

This will give you following output:



To get a full list of all timezone IDs type “tzutil /l” and you will get following list: