Created
July 30, 2015 08:41
-
-
Save gsuttie/d07b9e502c9afff184c6 to your computer and use it in GitHub Desktop.
Delete bin and obj folders using PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function global:DeleteBinObj() | |
{ | |
Get-ChildItem .\ -include bin,obj -recu -Force | remove-item -force -recurse -whatif | |
} | |
#remove -whatif once tested its going to do what we want | |
DeleteBinObj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment