# Script creates timestamps using month, day, year, hours, minutes and seconds # Writes it to a text file in the same directory Get-Date -Format MMddyyyy-HHmmss | Out-File timestamp.txt