[백업][가리사니] iisreset 옵션
iis

이 문서는 가리사니 개발자 포럼에 올렸던 글의 백업 파일입니다. 오래된 문서가 많아 현재 상황과 맞지 않을 수 있습니다.

공식문서 : https://support.microsoft.com/en-us/kb/202013

#IISRESET [computer name] [/option] [/option] [(and so on)]

RESTART
#This option stops, and then restarts all running Internet services.

START
#This will start all Internet services that are set to autostart.

STOP
#This will stop all running Internet services.

REBOOT
#This parameter will restart the computer.

REBOOTONERROR
#This restarts the computer only when an error occurs when trying to start, stop, or restart the Internet services.

NOFORCE
#Do not shut down Internet services on failure to stop them gracefully.

TIMEOUT:val
#This allows you to specify the timeout value in seconds waiting for a successful stop of Internet services. On expiration of this timeout, the computer can be restarted if the /REBOOTONERROR parameter is specified. The default value is 20 seconds for restart, 60 seconds for stop.

STATUS
#This displays the status of all Internet services.

ENABLE
#This enables the Restart API for Internet services.

DISABLE
#This will disable the Restart API for Internet services.