Using Command-Line Administration Scripts (IIS 6.0)

You can extend administrative control by using scripts to perform server administration tasks. You can use scripts to automate tasks, remotely administer sites and resources, and take advantage of batch files to create and manage objects. For additional information on using command lines, see the "Command-Line Reference" in Help and Support Center for Windows Server 2003.

Internet Information Services (IIS) contains eight supported command-line scripts that use the IIS Windows Management Instrumentation (WMI) provider to configure and manage IIS metabase configurations. Microsoft supports the command-line scripts that are included in IIS, as long as the scripts are not modified. If you need to modify a supported script, you must save it under a new file name, leaving the original script unmodified.

This section includes the following information:

Managing Web Sites Using Scripts: Describes how to create and manage Web sites by using a command-line script.

Managing FTP Sites Using Scripts: Describes how to create and manage FTP sites by using a command-line script.

Managing Web Virtual Directories Using Scripts: Describes how to create and manage Web virtual directories by using a command-line script.

Managing FTP Virtual Directories Using Scripts: Describes how to create and manage FTP virtual directories by using a command-line script.

Managing IIS Configurations Using Scripts: Describes how to export and import partial or complete IIS configurations and how to back up and restore IIS configurations by using a command-line script.

Managing Applications and Web Service Extensions Using Scripts: Describes how to manage Web applications and Web service extensions by using a command-line script.

Related Information

For information about the Active Directory Service Interfaces (ADSI) utility, Adsutil.vbs, see "IIS Administration Technologies" in the IIS Software Development Kit (SDK) on MSDN.

For information on the IISReset command-line utility, see Restarting IIS.



© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies
Microsoft