Contact Info

Crumbtrail » Administration » Scripts » Adsi

Enumerate Log Modules in Windows

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.

Enumerate Log Modules in Windows using VBScript, WMI and LDAP


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