Search This Blog

Google Analytics

Monday, August 15, 2011

Restart IIS Website using script

The following code snippet is a simple shell script to restart IIS website.
%windir%\system32\inetsrv\appcmd start Site MyWebSite
%windir%\system32\inetsrv\appcmd set Site MyWebSite /serverAutoStart:true

Related Readings:

No comments:

Post a Comment

Do provide your constructive comment. I appreciate that.

Popular Posts