Administrative Tasks Using the IIS Admin Objects

IIS configuration information is stored as binary values in the metabase, also referred to as metabase properties. You can use the IIS Admin Objects to change these configuration values. These objects can also be used to configure your IIS installation, create new FTP and Web servers, virtual directories, and other IIS elements. Individual IIS Admin Objects correspond to specific types of keys in the metabase. With simple scripts or within ASP pages, you can use the IIS Admin Objects to create applications for remote administration of your IIS installation.

One example of such an application is the Internet Services Manager (HTML), a remote administration tool that ships with IIS. This tool was constructed with the techniques demonstrated in this section.

This section contains:

Other sample command-line scripts are provided in the \Inetpub\AdminScripts directory. For more examples, see Developer Samples.