Summary: Learn how to find only the date by using the Get-Date cmdlet.
How can I use Windows PowerShell to easily display only the date (not the time)?
Use the Get-Date cmdlet and specify a display hint of date, for example:
Get-Date -DisplayHint date
0 comments