Dates
General Handy Tricks
Simple Date and Time to String
Add/remove the parts you dont want. Change the _ and - as you prefer
(Get-Date -Format "yyyy_MM_dd-hh_mm")
Add/remove the parts you dont want. Change the _ and - as you prefer
(Get-Date -Format "yyyy_MM_dd-hh_mm")