Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Removes all registered IIS Express sites in applicationhost.config.
@echo off
pushd "%PROGRAMFILES%\IIS Express"
for /F %%i in ('appcmd list sites /text:NAME') do (
echo %%i
appcmd delete site %%i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment