Charles Kozierok
Elite Member
No real way to judge until we see the list or otherwise know what we're dealing with...
How many files are you keeping? Maybe it'd be simpler to copy out all the files you're keeping then del the entire remaining directory?
Import-CSV "C:\temp.csv" | % {
$path = $_.csvcolumnname
Remove-item "$path"
}
That's no biggie.
Then you don't have adequate backups. 🙂
Offer remains if you need help when the time comes. Just drop me a line.