Click to Rate and Give Feedback
TechNet
TechNet Library
Windows
Windows Server
Web Server
Operations
Appcmd.exe

  Switch on low bandwidth view
Appcmd.exe

Applies To: Windows Server 2008

IIS 7 provides a new command-line tool, Appcmd.exe, to configure and query objects on your Web server, and to return output in text or XML. The following examples are tasks that you can complete with Appcmd.exe:

  • Create and configure sites, applications, application pools, and virtual directories.

  • Start and stop sites.

  • Start, stop, and recycle application pools.

  • View information about worker processes and requests that are running on the Web server.

Appcmd.exe provides consistent commands for common queries and configuration tasks, which reduces the complexity of learning syntax. For example, you can use the list command to search for information about an object, such as an application, or you can use the add command to create an object, such as a site.

Additionally, you can combine commands together to return more complex data about objects on your Web server or to perform tasks that are more complex. For example, you can complete complex tasks like stopping all sites that have requests that have been running longer than sixty seconds.

This section contains the following content:

Start Appcmd.exe

Get Help About Appcmd.exe

Working With Objects in Appcmd.exe

Working With Commands in Appcmd.exe

Working With Attributes and Values in Appcmd.exe

Configure Server-Level Settings by Using Appcmd.exe

Configure Settings for a Site, Application, Virtual Directory, or URL by Using Appcmd.exe

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker