Last active
June 2, 2017 00:37
-
-
Save jpolvora/39340a00b380b92b44d0594aeec46f21 to your computer and use it in GitHub Desktop.
Removes all registered IIS Express sites in applicationhost.config.
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
@echo off | |
pushd "%PROGRAMFILES%\IIS Express" | |
for /F %%i in ('appcmd list sites /text:NAME') do ( | |
echo %%i | |
appcmd delete site %%i | |
) | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment