Get-ChildItem -Path "C:Temp emp" -Directory -recurse| where {$_.LastWriteTime -le $(get-date).Adddays(-10)} | Remove-Item -recurse -force
Get-ChildItem -Path "C:Temp emp" -File -recurse| where {$_.LastWriteTime -le $(get-date).Adddays(-10)} | Remove-Item -recurse -force