PowerTip: Use PowerShell to List Time Zones Defined on System

PowerTip: Use PowerShell to List Time Zones Defined on System

  • Comments 2
  • Likes

Summary: Use Windows PowerShell to list time zones that are defined on a system.

Hey, Scripting Guy! Question How can I use Windows PowerShell to produce a list of all the time zones that are defined on my system?

Hey, Scripting Guy! Answer Use the System.TimeZone .NET Framework class, and call the GetTimeZones static method:

[System.TimeZoneInfo]::GetSystemTimeZones()

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment