Skip to content

Instantly share code, notes, and snippets.

@evilpilaf
Created October 10, 2020 10:39
Show Gist options
  • Save evilpilaf/8f7ff4def805fe1ce585fbad50e16bf7 to your computer and use it in GitHub Desktop.
Save evilpilaf/8f7ff4def805fe1ce585fbad50e16bf7 to your computer and use it in GitHub Desktop.
# Deletes all the bin and obj folders under a path, used to clean the root path for all my dotnet projects
# Taken from https://stackoverflow.com/a/5924807/1422608
Get-ChildItem .\ -include bin,obj -Recurse | ForEach-Object ($_) { Remove-Item $_.FullName -Force -Recurse }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment