To Start Stop and Restart a IIS Web Server from the command line use the following commands:


STOP:   From the command prompt, type net stop WAS and press ENTER; type Y and then press ENTER to also stop W3SVC.

START:   To start the Web server, type net start W3SVC and press ENTER to start both WAS and W3SVC


Some Alternate Commands:


STOP:  To stop IIS iisreset /stop

START: To start IIS iisreset /start


STATUS: To check the status of IIS iisreset /status