Plesk

Plesk Utility

The plesk command line utility is used to wrap other Plesk command
line utilities. Additionally, it provides administrators and developers
convenient way to access Plesk database, configuration files, and log
files and allows performing other important tasks such as running daily
maintenance script and the Plesk installer.

Usage

plesk [command]

Example

The following command creates a subscription for the administrator’s
customer with the username JDoe based on the hosting plan Default
Domain
, sets up a site for the domain example.com, assigns IP address
192.168.1.100 to the subscription, and sets the username JDoe and
password userpass_123 for access to the subscription:

plesk bin subscription --create example.com -owner admin -service-plan "Default Domain" -ip 192.168.1.100 -login JDoe -passwd "userpass_123"

Commands

Command Parameter Description Example
bin UTILITY

Runs the specified Plesk command line utility.

This is applicable to public CLI utilities located at the
"%plesk_dir%bin" directory.

To create a subscription for the administrator’s customer with
the username JDoe based on the hosting plan Default Domain,
set up a site for the domain example.com, assign IP address
192.168.1.100 to the subscription, and set the username
JDoe and password userpass_123 for access to the
subscription:

plesk bin subscription --create example.com -owner admin -service-plan "Default Domain" -ip 192.168.1.100 -login JDoe -passwd "userpass_123"