Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to List Time Zones Defined on System

$
0
0

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()


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>