Guide Programming + Scripting Powershell Show all files created/modified in the last 5 days Updated August 11 2024
Change to the directory you want to scan first. This scans subfolders as well.

Copy to Clipboard Get-ChildItem -Path . -Recurse| ? {$_.LastWriteTime -gt (Get-Date).AddDays(-5) -and $_.PSIsContainer -eq $false}




©2024 - Some portions of this website are Copyrighted.
Your IP: 3.133.138.209     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy