The reference page for each of the IIS Admin Objects includes ADSI and ADSI Container information, the ADsPath for the object, the metabase properties accessible by the object, and any additional methods specific to the object.
Each IIS Admin Object references a unique type of key, specified by the KeyType property, the value of which is the same as the class of the object. For example, the KeyType property value for the IIsWebServer object is IIsWebServer. The KeyType property is used when creating or deleting objects. The value of the KeyType property at a key in the metabase specifies the schema that determines the properties available at that key.
Note Physical directories and files are not automatically reflected in the metabase. You may find a metabase key for a directory or file that does not have the KeyType property set. In this case, when you use the GetObject function to access the key, the only property available will be KeyType. You should set the KeyType value to IIsWebDirectory or IIsWebFile as appropriate, and then use the SetInfo method to store the value in the metabase. You must then use the GetObject function again to access the object with the appropriate set of properties determined by the KeyType value and the schema.
Constants provides a list of constants and their values used with the IIS Admin Objects. You can copy and paste these into your scripts.
The individual IIS Admin Objects are:
IIsCertMapper | Maps certificates to Windows NTŪ accounts |
IIsComputer | Establishes global settings for IIS configuration |
IIsFilter | Provides information about a specific filter |
IIsFilters | Manages filters |
IIsFtpInfo | Establishes configuration properties for Ftp servers in addition to those set at IIsFtpService |
IIsFtpServer | Establishes configuration for a single Ftp server |
IIsFtpService | Establishes configuration common to all Ftp servers |
IIsFtpVirtualDir | Sets properties for an individual Ftp virtual directory |
IIsLogModule | Contains information about a specific logging module |
IIsLogModules | Maintains information about installed logging modules |
IIsMimeMap | Manages Multipurpose Internet Mail Extension (MIME) mappings |
IIsWebDirectory | Sets properties for an individual Web directory |
IIsWebFile | Sets properties for an individual Web file |
IIsWebInfo | Establishes configuration properties for Web servers in addition to those set at IIsWebService |
IIsWebServer | Establishes configuration for a single Web server |
IIsWebService | Establishes configuration common to all Web servers |
IIsWebVirtualDir | Sets properties for an individual Web virtual directory |