Standard command-line utilities are located in a folder defined by the Windows environment variable `%plesk_cli%`. By default, it is `C:\Program`` ``Files`` ``(x86)\Plesk\bin`.
Extended command-line utilities are located in a folder defined by the Windows environment variable `%plesk_bin%`. By default, it is `C:\Program`` ``Files`` ``(x86)\Plesk\admin\bin`.
To run command line utilities:
1. Log in to the Plesk server as Administrator or another user with administrator’s privileges.
2. Use one of the following options to run a utility:
- To run an utility from any directory, use the following command line format:
or
- To make `%plesk_bin%` or `%plesk_cli%` your current directory and run a utility from its home directory, run the following commands:
- cd %plesk_cli%
or
- To run an utility using a special plesk utility, run the following command:
For exact command syntax of each utility, consult the corresponding sections in the Chapter “ Using Command Line Utilities “.
%plesk_cli%\<utility name> [commands] [options]
%plesk_bin%\<utility name> [commands] [options]
<utility name> [commands] [options]
cd %plesk_bin%
<utility name> [commands] [options]
plesk bin <utility name> [commands] [options]
Note
All input parameters for the utilities must be passed in the UTF-8 encoding. It is the required condition for Plesk stable work.