Skip to content

Instantly share code, notes, and snippets.

@idiotandrobot
Created July 8, 2024 16:41
Show Gist options
  • Save idiotandrobot/eb28562e16ffddb3fbb7482554452331 to your computer and use it in GitHub Desktop.
Save idiotandrobot/eb28562e16ffddb3fbb7482554452331 to your computer and use it in GitHub Desktop.
function Clean-Solution {
param ([string]$path)
Write-Host "Removing bin from: $path"
Get-ChildItem $path -include bin -recurse | Remove-Item
Write-Host "Removing obj from: $path"
Get-ChildItem $path -include obj -recurse | Remove-Item
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment