magritton
7/3/2014 - 8:47 PM

recursively delete all files with a certain extension

recursively delete all files with a certain extension

get-childitem "D:\Program Files (x86)\CQCS\Organizations\R12\users\" -include *.cqe -recurse | foreach ($_) {remove-item $_.fullname}