One of the tools for command-line management in IIS 8.0 is AppCmd.exe. This one tool contains functions that give the administrator complete control of the web server. A few examples of what you can do include the following:
AppCmd.exe provides a consistent set of supported commands for performing queries and tasks against a set of supported object types. You can run these commands individually or in combination with other commands to perform complex tasks or queries.
|site||To administer virtual sites|
|app||To administer applications|
|vdir||To administer virtual directories|
|apppool||To administer application pools|
|config||To administer general configuration sections|
|wp||To administer worker processes|
|request||To administer HTTP requests|
|module||To administer server modules|
|backup||To administer server configuration backups|
|trace||To administer failed request trace logs|
Supported commands include the following:
AppCmd.exe is located in the %systemroot%\system32\inetsrv directory, which is available only to members of the Administrators group. Additionally, if applicationhost.config, machine.config ...