Demonstration script that modifies a filter setting property (FilterEnabled) in the IIS metabase.

Visual Basic
Edit|Remove
strComputer = "LocalHost"
Set objIIS = GetObject("IIS://" & strComputer & "/W3SVC/Filters/Compression")\

objIIS.FilterEnabled = FALSE
objIIS.SetInfo