Last active
August 24, 2021 21:24
-
-
Save omidkrad/3b2fc56ee367892b75ac to your computer and use it in GitHub Desktop.
Delete IISExpress sites using PowerShell
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
Set-Alias appcmd "$env:ProgramFiles\IIS Express\appcmd.exe" | |
appcmd list site /text:SITE.NAME | % { appcmd delete site $_ } | |
# or remove IISExpress directory | |
Remove-Item -Recurse $env:USERPROFILE\Documents\IISExpress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment