Skip to content

Microsoft IIS AppCmd - Process Steps

AppCmd

Run an arbitrary appcmd command.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
CommandStringThe command to be run using appcmd.Yes
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
IdentifierStringThe identifier for the object if required.No
Object TypeStringThe object type that the command should be run against.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Create Application

Create an Application in IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Parent SiteStringThe Parent site the application should be created under, e.g. Default Web Site.Yes
Virtual PathStringThe virtual path that this application should be created under.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Create Application Pool

Create an Application Pool in IIS.

NameTypeDescriptionRequired
Application Pool NameStringThe name of the Application Pool to create.Yes
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Create Site

Create a new Web Site in IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Site NameStringThe name of the Web Site to create, e.g. DefaultWebSite.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Create Virtual Directory

Create a new Virtual Directory in IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Parent ApplicationStringApplication identifier under which this virtual directory is created.Yes
PathStringThe physical path of the virtual directory.No
Virtual PathStringThe virtual path of the virtual directory.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Create or update application from XML

Create or update existing application using user supplied XML

NameTypeDescriptionRequired
Application NameStringThe application name.Yes
Application XMLStringEnter the application configuration XML here or provide a path to a file below.No
Application XML FileStringEnter a path to a file that contains the application configuration XML or provide the contents above.No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Delete Application

Delete an Application from IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
IDStringThe Application path or URL of the application to delete, e.g. Default Web Site/Application.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Delete Application Pool

Delete an Application Pool from IIS.

NameTypeDescriptionRequired
Application Pool NameStringThe name of the Application Pool to delete.Yes
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Delete Site

Delete a Web Site from IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Site NameStringThe name of the Web Site to delete, e.g. DefaultWebSite.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Delete Virtual Directory

Delete a Virtual Directory from IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Virtual Directory PathStringVirtual Directory Path or URL to be deleted, e.g. Default Web Site/subdir.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Recycle Application Pool

Recycle an Application Pool in IIS.

NameTypeDescriptionRequired
Application Pool NameStringThe name of the Application Pool to recycle.Yes
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Start Application Pool

Start an Application Pool in IIS.

NameTypeDescriptionRequired
Application Pool NameStringThe name of the Application Pool to start.Yes
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Start Site

Start a Web Site in IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Site NameStringThe name of the Web Site to delete, e.g. DefaultWebSite.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Stop Application Pool

Stop an Application Pool in IIS.

NameTypeDescriptionRequired
Application Pool NameStringThe name of the Application Pool to stop.Yes
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No

Stop Site

Stop a Web Site in IIS.

NameTypeDescriptionRequired
ArgumentsStringA newline separted list of arguments to be added to the appcmd call. e.g. /arg1:val1\n/arg2:val2\n/arg3:val3No
Command PathStringThe directory location of the AppCmd command-line executable: e.g., C:\Windows\system32\inetsrv\No
Site NameStringThe name of the Web Site to delete, e.g. DefaultWebSite.Yes
TimeoutIntegerTimeout, in seconds, at which the step will fail if action is not yet complete.No