PowerTip: Use PowerShell to Show Time

Summary: Use Windows PowerShell to show the current time.

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

Hey, Scripting Guy! Answer Use the Get-Date cmdlet and choose the Time display hint:

Get-Date -DisplayHint Time

Comments (1)

  1. Vern_Anderson says:

    Other valid Display Hints are Date, Time, DateTime

Skip to main content