Search This Blog

Google Analytics

Monday, August 15, 2011

Recycle IIS Application Pool using script

The following code snippet is a simple shell script to recycle IIS application pool.
%windir%\system32\inetsrv\appcmd start Apppool MyAppPoolName
%windir%\system32\inetsrv\appcmd set Apppool MyAppPoolName /autoStart:true
%windir%\system32\inetsrv\appcmd recycle Apppool MyAppPoolName

Related Readings:

1 comment:

Do provide your constructive comment. I appreciate that.

Popular Posts