Start a Web Server

Starts a Web server named W3SVC/2142295254 on an IIS server.

VBScript Code


strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC/2142295254")

objIIS.Start