net start with no parameter will tell you which services are started. net start servicename will start a service, net stop servicname will stop a service. For other options & information try: net /?, net help start, net help stop, etc.
The net command did not really do what was needed. net start just listed whether the service was running, which did not reflect the status of the web site.
I finally found the vbs scripts for startweb and stopweb in a subdirectory of InetPub. I did not find a vbs script for checking the running status.
Unfortunately, running either startweb or stopweb does not change display when looking at the IIS Admin screen. The only way I found to check to see if [start/stop]web worked is to try to access
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.