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


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.


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 six time Microsoft MVP (Since 2015) with over 16 years of extensive experience with major expertise on SharePoint, SharePoint based development, Microsoft 365, Microsoft Teams, .Net Platform and Microsoft BI. He is currently working Sr Microsoft Consultant at Olive + Goose. He is MCT Regional Lead for Pakistan Chapter since 2012. He is working on SharePoint for past 12 years and worked on different intranet/intranet solutions for private & govt. sector majorly in United states and Gulf region and have experience of working with multiple Fortune 500 companies. He is a trainer, technology evangelist and also speaks in community forums.

Leave a Reply