While you need administrative privileges to adjust time and date on your computer, each user can change the time zone, i.e. when you travel. PowerShell 5 comes with a very simple family of cmdlets to manage time zones. First, check out your current setting:
PS> Get-TimeZone Id : W. Europe Standard Time DisplayName : (UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien StandardName : Mitteleuropäische Zeit DaylightName : Mitteleuropäische Sommerzeit BaseUtcOffset : 01:00:00 SupportsDaylightSavingTime : True
Next, try and change the time zone. The line below opens a window with the names of all available time zones:
PS> Get-TimeZone -ListAvailable | Out-GridView
Once you know the official ID of the time zone you want to set, use Set-TimeZone:.
PS> Set-TimeZone -Id 'Chatham Islands Standard Time' PS> Get-Date Samstag, 27. Mai 2017 18:32:53 PS> Set-TimeZone -Id 'W. Europe Standard Time' PS> Get-Date Samstag, 27. Mai 2017 07:48:02