Command-Line Scripts for IIS 6.0 in Windows Server 2003

Command-Line Scripts for IIS 6.0 in Windows Server 2003

  • IIS 6.0 includes supported scripts that you can find in the systemroot\System32 directory. These VBScript scripts use the IIS WMI provider to manage configuration settings in the IIS metabase.
  • When you use these scripts to create a new site or virtual directory, you can specify the basic properties that are needed to create the site or directory and identify its contents. The scripts apply the same default properties that IIS Manager uses to create new sites or virtual directories, and they adhere to the same rules for inheriting properties.
  • To configure more advanced properties for a site or virtual directory, use IIS Manager. Alternatively, you can build an XML template that contains the properties you want to apply to a new Web site or virtual directory and then use the Iiscnfg.vbs script to apply this template to any Web site or virtual directory in the IIS metabase.
  • The computer that runs the command must be running Microsoft® Windows®  XP Professional or Windows Server 2003. The computer that the command affects must be running Windows Server 2003 with IIS 6.0. You cannot use these scripts to manage IIS 6.0 on clients running Windows XP Professional because Windows XP runs with IIS 5.1.

 

Iisweb.vbs
Web sites
Create, delete, start, stop, pause, and query or list Web sites.
Managing Web Sites

Iisftp.vbs
FTP sites
Create, delete, start, stop, pause, and query or list FTP sites.

Query and set Active Directory properties for a users FTP home directory (use in FTP user isolation).

Managing FTP Sites

Setting Active Directory User Isolation

Iisvdir.vbs
Web virtual directories
Create, delete, or list the Web virtual directories of a given root.
Managing Web Virtual Directories

Iisftpdr.vbs
FTP virtual directories
Create, delete, or list the FTP virtual directories of a given root.
Managing FTP Virtual Directories

iisback.vbs
Back up and restore IIS configuration
Create, delete, restore, and list backup copies of IIS configuration.
Managing IIS Configurations

Iiscnfg.vbs
Export or import IIS configuration
Export or import an IIS configuration to or from an XML file; copy the metabase and schema to another computer; and save configuration changes to disk.
Managing IIS Configurations

Iisext.vbs
Applications and dynamic content services
Configure and manage applications, Web service extensions (like ASP and ASP.NET), and individual files.
Managing Applications and Web Service Extensions

Iisapp.vbs
Application pools and their worker processes
List the worker processes (W3wp.exe) currently running and the application pool each one serves.