You can use the IIsLogModule object to set metabase properties that affect the operation of logging modules. You can set filter properties at the computer level, at the Ftp and Web service level, or for an individual Ftp or Web server.
The IIsLogModule object is an ADSI object, but not an ADSI container object.
IIS://MachineName/logging/LogModuleName
Where MachineName can be any name or "LocalHost", and LogModuleName is the name of a log module.
varReturn = object.{Method}
LogModuleId | LogModuleUiId |
ADSI Object Methods | Standard methods for ADSI objects |
Common Object Methods | Methods, other than ADSI methods, common to all IIS Admin Objects |