Internet Information Server (IIS) IIS 5.x Applications and Application Pools Verify the Status of a Web Directory Application
' Verify the Status of a Web Directory Application
strComputer = "LocalHost" Set objIIS = GetObject _ ("IIS://" & strComputer & "/W3SVC/2142295254/root/aspnet_client_folder") strStatus = objIIS.AppGetStatus2 If strStatus = 2 Then Wscript.Echo "The application is running." ElseIf strStatus = 3 Then Wscript.Echo "The application is stopped." Else Wscript.Echo "The status of this application could not be determined." End If
|
VbsEdit includes all these samples!
Download Now!
Version 5.4.1 - This package includes VbsEdit 32-bit, VbsEdit 64-bit, HtaEdit 32-bit and HtaEdit 64-bit. The evaluation version never expires.
Home
|