Contact Info

Crumbtrail » Administration » Scripts » Adsi

Enumerate IIS Filters 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 IIS Filters in Windows using VBScript, WMI and LDAP


strComputer = "LocalHost"
Set colFilters = GetObject("IIS://" & strComputer & "/W3SVC/Filters")
For Each objFilter in colFilters
    Wscript.Echo "Name: " & objFilter.Name
    Wscript.Echo "Filter Description: " & objFilter.FilterDescription
    Wscript.Echo "Filter Path: " & objFilter.FilterPath
    Wscript.Echo "Filter Enabled: " & objFilter.FilterEnabled
    Wscript.Echo "Filter State: " & objFilter.FilterState
    Wscript.Echo "Filter Flags: " & objFilter.FilterFlags