Contact Info

Crumbtrail » Administration » Scripts » VBScript » Custom script

List Web Server Configuration Information

You can use any of the VBScript programs below in ActiveXperts Network Monitor. Click here for an explanation about how to include scripts in ActiveXperts Network Monitor.


strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC/INFO")
Wscript.Echo "Admin Server: " & objIIS.AdminServer
Wscript.Echo "Log Module List: " & objIIS.LogModuleList
For Each strDescription in objIIS.CustomErrorDescriptions
    Wscript.Echo "Custom Error Description: " & strDescription
Wscript.Echo "Server Configuration Flags: " & objIIS.ServerConfigFlags