Quick tip: Get supported DateTime formats

When using the Format parameter of the Get-Date cmdlet, if you ever need a list of all supported format patterns, use this one-liner:

 ([System.Globalization.DateTimeFormatInfo]::CurrentInfo).GetAllDateTimePatterns() 

Leave a comment