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.