Created
November 12, 2022 08:30
-
-
Save solrevdev/2e89bee9e0ba8651986fb74c9f295ad9 to your computer and use it in GitHub Desktop.
Powershell delete all bin and obj folders script
This file contains hidden or 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
#!/usr/bin/env pwsh | |
Write-Host "Deleting bin and obj folders in this folder and sub folders" | |
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