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, a distinguished professional, boasts an impressive track record as a Microsoft MVP, having achieved this prestigious recognition for the eighth consecutive year since 2015. With an extensive career spanning over 18 years, Adnan has honed his expertise in various domains, notably excelling in SharePoint, Microsoft 365, Microsoft Teams, the .Net Platform, and Microsoft BI. Presently, he holds the esteemed position of Senior Microsoft Consultant at Olive + Goose. Notably, Adnan served as the MCT Regional Lead for the Pakistan Chapter from 2012 to 2017, showcasing his leadership and commitment to fostering growth within the tech community. His journey in the realm of SharePoint spans 14 years, during which he has undertaken diverse projects involving both intranet and internet solutions for both private and government sectors. His impact has transcended geographical boundaries, leaving a mark on projects in the United States and the Gulf region, often collaborating with Fortune 500 companies. Beyond his roles, Adnan is a dedicated educator, sharing his insights and knowledge as a trainer. He also passionately advocates for technology, frequently engaging with the community through speaking engagements in various forums. His multifaceted contributions exemplify his dedication to the tech field and his role in driving its evolution.

Leave a Reply