Skip to content

Instantly share code, notes, and snippets.

@RichardHan
Last active August 29, 2015 14:05
Show Gist options
  • Save RichardHan/5496b0fd3c7398219358 to your computer and use it in GitHub Desktop.
Save RichardHan/5496b0fd3c7398219358 to your computer and use it in GitHub Desktop.
IIS loop list requests via appcmd (run admin)
@echo off
MODE con:cols=180 lines=50
echo appcmd.exe list request
set count=9999999999
:loop
set /a count=%count%-1
TIMEOUT /T 2 /NOBREAK
C:\Windows\System32\inetsrv\appcmd.exe list request
if %count% NEQ 0 goto loop
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment