Skip to content

Instantly share code, notes, and snippets.

@a1300
Created April 25, 2021 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1300/3f4d271a97c4fe8454911c50561c3716 to your computer and use it in GitHub Desktop.
Save a1300/3f4d271a97c4fe8454911c50561c3716 to your computer and use it in GitHub Desktop.
windows change creation date recursive
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