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

PowerTip: Get Time with PowerShell

$
0
0

Summary: Use Windows PowerShell to get the current time.

Hey, Scripting Guy! Question How can I use Windows PowerShell to get the current time?

Hey, Scripting Guy! Answer Use the Get-Date cmdlet and specify a –DisplayHint of Time:

Get-Date -DisplayHint time


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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