Get and Set Timezones via PowerShell - Sebastian Gräf
4201
post-template-default,single,single-post,postid-4201,single-format-standard,ajax_fade,page_not_loaded,,side_area_uncovered_from_content,qode-theme-ver-15.0,qode-theme-bridge,wpb-js-composer js-comp-ver-5.4.7,vc_responsive
 

Get and Set Timezones via PowerShell

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:

 

%d bloggers like this: