IIS service command line restart command
Z: \ Documents and Settings \ computer_name> iisreset /?
IISRESET. EXE (c) Microsoft Corp. 1998-1999
Usage:
Iisreset [computername]
/RESTART stop and RESTART all Internet services.
/START all Internet services.
/STOP: STOP all Internet services.
/REBOOT restarts the computer.
/REBOOTonERROR if an error occurs when you start, stop, or reSTART Internet services, restart the computer.
/NOFORCE do not forcibly terminate Internet services if an attempt to stop a service fails.
/TIMEOUT: val specifies the TIMEOUT value (in seconds) to wait for the successful termination of Internet services.
If the REBOOTonERROR parameter has been specified, You can restart the computer after timeout.
The default value is 20 seconds to restart, 60 seconds to stop, and 0 seconds to restart.
/STATUS: displays the STATUS of all Internet services.
/ENABLE Internet service restart on the local system.
/DISABLE Internet service restart on the local system.