I have several thousand duplicate files (jar files as an example) that I\'d like to use powershell to
try this:
ls *.txt -recurse | get-filehash | group -property hash | where { $_.count -gt 1 } | % { $_.group | select -skip 1 } | del
from: http://n3wjack.net/2015/04/06/find-and-delete-duplicate-files-with-just-powershell/