Created
April 25, 2021 22:13
-
-
Save a1300/3f4d271a97c4fe8454911c50561c3716 to your computer and use it in GitHub Desktop.
windows change creation date recursive
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
Get-ChildItem . -rec | where {!$_.PSIsContainer } | foreach { $_.LastAccessTime = Get-Date; $_.LastWriteTime = Get-Date; $_.CreationTime = Get-Date } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment