I haven’t posted for ages as I am not doing any coding at the moment, but this little snippet that I used to know in my head completely eluded me today. I thought I’d post it here for when that happens again: this will delete ALL .svn folders in C:\Temp, recursively.

gci C:\Temp -include .svn -Recurse -Force | Remove-Item -Recurse -Force