Summary: Use Windows PowerShell to list time zones that are defined on a system.
How can I use Windows PowerShell to produce a list of all the time zones that are defined on my system?
Use the System.TimeZone .NET Framework class, and call the GetTimeZones static method:
[System.TimeZoneInfo]::GetSystemTimeZones()
0 comments