Skip to content

Instantly share code, notes, and snippets.

Last active September 21, 2016 20:02
What would you like to do?
This is a powershell script that will recursively remove all the obj, bin, and packages directories from the current directory and its children.
get-childitem -Directory -Recurse | where-object {$_.Name -eq 'bin' -or $_.Name -eq 'obj' -or $_.Name -eq 'packages'} | Remove-Item -Force -Recurse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment