in powershell load the scripts:
directory-summary {path}
where{path}
is the path to get folder size ofGet-NeglectedFiles -path c:\fso -numberDays 60 | select name, lastaccesstime
- delete files older than
60 days
:dir |? {$_.CreationTime -lt (get-date).AddDays(-60)} | del
Note these scripts were taken from :