Administering Servers from the Command Line in IIS 6.0
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
Each system on your computer comes with a graphical user interface (GUI), such as IIS Manager, to configure and manage your settings. However, if administrators manage systems frequently, or access large amounts of data on multiple servers, then using each GUI is time consuming. It may be faster to use command-line scripts that can manage single or multiple systems programmatically.
IIS provides powerful scripting and programming tools that you can use to access and configure settings from within a command-line script or compiled application. You can use these tools to create, delete, start, stop, pause, and list various sites and applications, and to copy, import, and export configurations.
You can use command-line scripts for the following:
Managing Web Sites Using Scripts: Describes how to create, delete, start, stop, pause, and list Web Sites on a local or remote computer.
Managing FTP Sites Using Scripts: Describes how to create, delete, start, stop, pause, and list FTP Sites on a local or remote computer.
Managing Web Virtual Directories Using Scripts: Describes how to create, delete, and list Web virtual directories on a local or remote computer.
Managing FTP Virtual Directories Using Scripts: Describes how to create, delete, and list FTP virtual directories on a local or remote computer.
Managing IIS Configurations Using Scripts: Describes how to back up, restore, delete, list, copy, import, and export IIS configurations.
Managing Applications and Web Service Extensions Using Scripts: Describes how to enable and list applications; add and remove application dependencies; enable, disable, and list Web service extensions; and add, remove, enable, disable, and list individual files.