I have a bit of SVN trouble today. Ended up deleting all .svn folders so I could re-add them to perform my commit. Therefore I am going to quickly share a powershell script that will delete file/directory base on a match string. Note that it deletes hidden dir/files as well. Make sure you run -WhatIf to find out what it is about to do.
The useage looks like this -
RecursiveDelete -WhatIf -matchString .hg -location "C:\bitbucket"


