Aby wylistować pliki, które są starsze niż 30 (również w pod folderach) w PowerShell wpisać polecenie:
Get-ChildItem $path -recurse -force -include *.* | Where-Object { $_.LastWriteTime -gt "01-01-1900" -and $_.LastWriteTime -lt (get-date).AddDays(-30) }