I work with multiple projects, and I want to recursively delete all folders with the name \'bin\' or \'obj\' that way I am sure that all projects will rebuild everything (so
from Using Windows PowerShell to remove obj, bin and ReSharper folders
very similar to Robert H answer with shorter syntax
paste and run below script
dir .\ -include bin,obj,resharper* -recurse | foreach($) { rd $_.fullname –Recurse –Force}