Using Powershell to clean old files up...
Scripting Guy has done a huge analysis of this at the link below if you want details...
Code:
$a = Get-ChildItem C:\MyFiles\Folder -recurse foreach($x in $a) { $y = ((Get-Date) - $x.CreationTime).Days if ($y -gt 5 -and $x.PsISContainer -ne $True) {$x.Delete()} }
Source: http://blogs.technet.com/b/heyscriptingguy/archive/2007/10/31/hey-scrip…