IIS service command line method restart command

xiaoxiao2021-03-06  40

D: / Documents and Settings / Michael.lem> IisReset /?

Iisreset.exe (c) Microsoft Corp. 1998-1999

USAGE: IISRESet [ComputerName]

/ Restart stops and restarts all Internet services. / Start launches all Internet services. / Stop stop all Internet services. / Reboot restarts the computer. / Rebootonerror If an error occurs when starting, stopping or restarting the Internet service, restart your computer. / NOFORCE Do not force the Internet service if you try to stop failure. / Timeout: VAL Specifies the timeout value (in seconds) to wait for the success of the Internet service. If the RebootonError parameter has been specified, you can restart your computer after the timeout will be restarted. The default is restarted for 20 seconds, 60 seconds stop, 0 seconds to restart. / Status displays the status of all Internet services. / Enable Enables restart of the Internet service on your local system. / Disable disables restart of the Internet service on the local system.

转载请注明原文地址:https://www.9cbs.com/read-76653.html

New Post(0)