-
-
Save nuryslyrt/fb8e281eb24711adf137a6cfbc67ed45 to your computer and use it in GitHub Desktop.
PowerShell TimeStomp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PowerShell.exe -com {$file=(gi c:\demo\test.txt);$date='01/03/2006 12:12 pm';$file.LastWriteTime=$date;$file.LastAccessTime=$date;$file.CreationTime=$date} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment