Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Use PowerShell to Find Current Time Zone

$
0
0

Summary: Use Windows PowerShell to find the current time zone information.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find my current time zone?

Hey, Scripting Guy! AnswerUse the System.TimeZone .Net Framework class with the static CurrentTimeZone property:

PS C:\> [System.TimeZone]::CurrentTimeZone

 

StandardName                               DaylightName

------------                               ------------

Eastern Standard Time                      Eastern Daylight Time


Viewing all articles
Browse latest Browse all 34890

Trending Articles



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