Skip to content

Instantly share code, notes, and snippets.

@d1820
Forked from xtrmstep/cleanup-objbin.ps1
Last active November 1, 2023 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d1820/8d6b34db9e87283b1e2d9c804e848583 to your computer and use it in GitHub Desktop.
Save d1820/8d6b34db9e87283b1e2d9c804e848583 to your computer and use it in GitHub Desktop.
PowerShell command to delete all \bin and \obj folders. Use as a VS2022 External Tool
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { Write-Host "Removing $($_.fullname)"; remove-item $_.fullname -Force -Recurse }; Write-Host "Complete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment