Restart iis open and close methods

When using iis we often need to restart iis open and close, then we
open the IIS configuration window CMD command: start running --- --- ---- input CMD inetmgr
directly CMD We can handle a lot of things, such as starting IIS restart IIS, IIS stop
restart IIS server start -> run -> cmd (listed below related operations command):
iisreset / stop start after rESTART
iisreset / start the sTART IIS (if stopped)
iisreset / sTOP to stop IIS (if started)
iisreset / rEBOOT restart the computer
iisreset / rEBOOTonERROR If you stop IIS fails to restart the computer
iisreset / NOFORCE not forced to stop IIS
iisreset / TIMEOUT: X in X seconds, IIS is forced to stop, unless given / NOFORCE parameter content from.
the most convenient to use, Of course, you can also run in CMD: iisreset / start

Guess you like

Origin blog.51cto.com/14479189/2432680