ActiveXperts.com » Administration » Scripts » VBScript » Custom script

VBScript Code to Enumerate Log Modules

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.

Example(s)

strComputer = "LocalHost"
Set colLogs = GetObject("IIS://" & strComputer & "/Logging")
 
For Each objLog in colLogs
    Wscript.Echo "Name: " & objLog.Name
Next
M