on the date option and select Adjust Date/Time and from there you can change the time zone.

Recently I was testing some code for different time zone but some how windows 10 not allowing me to change the time zone. Whenever I tried to update it, system automatically resets the time zone.

Being a programmer and tech person you get multiple ways to fix the issue. And I am writing this blog to share how you can change the time zone for windows 10 or windows servers using PowerShell. There could be scenarios where you might need to change the Time zone for multiple machines and this could easily be achieved using simple powershell cmdlts.

There are two functions in PowerShell which can do the job

Get-TimeZone:

This function can return you the current time zone of the system.

and you can also get list of all time zones by either name parameter (-Name ‘*pac*’) or can get the list of all available timezones by passing -ListAvailable parameter

This list will help you to get the exact name of required timezone.

Set-TimeZone:

This function helps you to update the time zone for your machine. Run PowerShell cmdlet as administrator and execute the Set-TimeZone function and pass -id or -Name parameters with TimeZone name.

Just that Set-TimeZone cmdlet and time zone will be update for the machine.

Adnan is two time SharePoint MVP (Most Valuable Professional) with over 12 years of extensive experience with major expertise on SharePoint Server, Office 365, .Net Platform and Microsoft BI. He is currently working SharePoint Architect at FMT Consultants. He is MCT Regional Lead for Pakistan Chapter since 2012. He is working on SharePoint for past nine years and worked on different intranet/intranet solutions for private & govt. sector majorly in Gulf region, which include OOB and customized solutions. He is a trainer, technology evangelist and also speaks in community forums.

Leave a Reply