Powershell Show all files created/modified in the last xx days Updated January 15 2025
Change to the directory you want to scan first. This scans subfolders as well.

Copy to Clipboard Get-ChildItem -Path 'c:\' -Recurse | where-object {$_.LastWriteTime -gt (Get-Date).AddDays(-5) -and $_.PSIsContainer -eq $false}



Another version which checks for files newer than a certain date
Copy to Clipboard Get-ChildItem 'C:\Users' -Recurse | Where-Object {$_.LastWriteTime -le '01/01/2025'} | select-Object FullName, LastWriteTime
Search Keywords: Recent Files, modified, updated, changed, today, recently




©2024 - Some portions of this website are Copyrighted.
Your IP: 3.138.120.251     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