The service_plan
utility is used for managing hosting plans through
the command line.
Location
%plesk_cli%
Usage
service_plan.exe <command> [<plan_name>] [
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]
Example
The following command creates a hosting plan named Personal Sites,
which allocates 500 megabytes of disk space and 1 gigabyte of traffic
per month.
plesk bin service_plan.exe -c "Personal Sites" -hosting true -disk_space 500M -max_traffic 1G
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--create or -c |
<plan_name> |
Creates a new hosting plan. |
To create a hosting plan named Plan 1: plesk bin service_plan.exe --create "Plan 1" or plesk bin service_plan.exe -c "Plan 1" |
--update or -u |
<plan_name> |
Updates an existing hosting plan. |
To rename a plan from Plan 1 to Plan 2: plesk bin service_plan.exe --update "Plan 1" -new-name "Plan 2" or plesk bin service_plan.exe -u "Plan 1" -new-name "Plan 2" |
…