Skip to content

Instantly share code, notes, and snippets.

@mishrsud
Last active September 25, 2017 07:44
Show Gist options
  • Save mishrsud/48a191b86f92f044e1d4eb1e68635e49 to your computer and use it in GitHub Desktop.
Save mishrsud/48a191b86f92f044e1d4eb1e68635e49 to your computer and use it in GitHub Desktop.
# Run this from the directory that contains all project directories underneath
Get-ChildItem -Recurse | where { $_.Name -eq "bin" -or $_.Name -eq "obj" } | Remove-Item -Recurse
# If you really know what you're doing
Get-ChildItem -Recurse | where { $_.Name -eq "bin" -or $_.Name -eq "obj" } | Remove-Item -Recurse -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment