Delen via


Using Command-Line Administration Scripts

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

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 about 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:

  • 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 about the IISReset command-line utility, see Restarting IIS.