Skip to content

Instantly share code, notes, and snippets.

@bogdanbujdea
Created November 9, 2020 23:05
Show Gist options
  • Save bogdanbujdea/e649893361533e91349510e8c04c5295 to your computer and use it in GitHub Desktop.
Save bogdanbujdea/e649893361533e91349510e8c04c5295 to your computer and use it in GitHub Desktop.
Powershell script for cleaning dotnet projects
Get-ChildItem -include bin,obj,packages,'_ReSharper.Caches','.vs' -Force -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse -ErrorAction SilentlyContinue -Verbose}
# Found on StackOverflow: https://stackoverflow.com/a/42762639/1091894
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment