Start an Application Pool

Starts the application pool MSSharePointAppPool.

VBScript Code


strComputer = "LocalHost"
Set objIIS = GetObject _
    ("IIS://" & strComputer & "/W3SVC/AppPools/MSSharePointAppPool")

objIIS.Start