Last active
May 31, 2020 12:18
-
-
Save dimon4ezzz/4bf326b1750b4ef7ecbcd2d50da354d7 to your computer and use it in GitHub Desktop.
does fake date for all files in this directory (NTFS)
This file contains hidden or 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
$date = "2020-01-01T00:00:00Z"; | |
Get-ChildItem * | foreach { $_.CreationTimeUtc = Get-Date $date; $_.LastWriteTimeUtc = Get-Date $date; $_.LastAccessTimeUtc = Get-Date $date } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment