-
-
Save shashank-shekhar/1fd688adecf6bb894b2002afa073a656 to your computer and use it in GitHub Desktop.
Delete IISExpress sites 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
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