User guide
93
Parameter
Variable
Mandatory?
Description
-AutoStart
No
Flag that indicate if the application pool
must be started automatically. This
parameter is allowed only for IIS 7.0, 7.5, 8.0
and 8.5. The allowed values are:
- 1 or True: The application pool will
be started automatically when
Windows start.
- 0 of False: The application pool will
not be started automatically when
Windows start.
-log
No
For Web Site actions:
Parameter
Variable
Mandatory?
Description
-Action
Yes
Indicate the action to be performed:
- CreateWebSite
- ConfigureWebSite
- DropWebSite
- StartWebSite
- StopWebSite
- RestartWebSite
-sn
Yes
Web site name.
-port
No*
The port number of the web site. Mandatory for
create action and optional in configure.
-pd
No*
The full path routing to the location where the
application was published. Mandatory for create
action and optional in configure.
-ap
No
Name of the application pool. If not defined
when creating, the default application pool will
be used. Optional in Create and Configure
actions.
-EnablePreload
No
Allowed on IIS 7.0, 7.5, 8.0 and 8.5. Flag that
indicates if the web site must be
preloaded. Optional in Create and Configure
actions. Allowed values are:
- 1 or True: Preload enabled
- 0 or false: Preload disabled