Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista

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.

Categories: MicrosoftServer

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Microsoft

PowerShell TTUC #15 – File Name with Time Stamp

PoweShell TTUC (Tips, Tricks and Useful Commands) #16 – File Name with Time Stamp File can be created with date / time suffix using the following syntax / commands: New-item -type file -Name (“MyFile_$(Get-Date -f Read more…

Microsoft

F5 VPN Plug-in and NPuroamHost.dll Issue

By default, the F5 VPN plug-in (F5 Networks Firepass Host Plugin) doesn’t install from Internet Explorer 11 browser.  If you try the manual installation option, you will get only the NPuroamHost.dll file. Copying and pasting Read more…

Microsoft

Azure AD and Manual UPN Update

In Azure AD, the UserPrincipalName (UPN) can be manually updated using Set-MsolUserPrincipalName Power Shell cmdlet.  The details and syntax are explained here – https://msdn.microsoft.com/en-us/library/azure/dn194135.aspx One of the common issues you experience during this process is Read more…