Working with Date and Time in PowerShell

Download this episode

Download Video


In this video, we discuss Date and Time as it relates to PowerShell. Things like how to format the output, add and subtract time, use the cmdlets to edit time stamps on files, and to query the event log. All very useful foundational knowledge on your quest to become a PowerShell guru.

Cmdlets covered:
* Get -Date
* Get-EventLog
* Get-Item
* ToShortDateString
* ToLongDateString
* ToShortTimeString
* ToLongTimeString

Custom Formatting

For support, training, or more information about PowerShell check out



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Add Your 2 Cents