Skip to content

Instantly share code, notes, and snippets.

@JekRock
Created September 3, 2017 18:31
Show Gist options
  • Save JekRock/8723900d96deaf7a6d9890a39c039390 to your computer and use it in GitHub Desktop.
Save JekRock/8723900d96deaf7a6d9890a39c039390 to your computer and use it in GitHub Desktop.
Get list of files modified after date
Get-ChildItem -Path . -Recurse| ? {$_.LastWriteTime -gt (Get-Date).AddDays(-4)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment