R-Ts NetWorks

Server the Best

Plesk Binaries


Located in the %plesk_bin% directory

1) websrvmng.exe

To install hosting for a domain

Quote:
websrvmng.exe –install-vhost –vhost-name=<domain name>

To remove hosting for a domain

Quote:
websrvmng.exe –remove-vhost –vhost-name=<domain name>

To reconfigure hosting for a domain

Quote:
websrvmng.exe –reconfigure-vhost –vhost-name=<domain name>

To reconfigure a subdomain

Quote:
websrvmng.exe –update-subdomain –vhost-name=<domain name> –subdomain=<subdomain>

Passwords for system user and IIS Web Server user can be unsynchronized or synchronised using

Quote:
websrvmng.exe –update-anon-password –domain-name=<domain name>

To reconfigure webmail

Quote:
websrvmng.exe –reconfigure-webmail
defpackagemng.exe” –fix –type=webmail

2) mchk.exe

To Reset server-wide and domain’s mail settings forcefully

Quote:
mchk.exe –all –fix-all

To Check and restore mail settings for a domain defined

Quote:
mchk.exe –domain –domain-name=sampledomain.com

To Check and restore only server-wide mail settings

Quote:
mchk.exe –global-settings


3) protdir.exe

Quote:
protdir.exe –create Protected_Dir -domain domain1.com -add_user MyGuest -passwd “MyPass”

To set a password for the user of a web-protected directory:

Quote:
protdir.exe –update Protected_Sample -domain somewhere.com -update_user johndoe -passwd Password1

To remove protected directory user:

Quote:
protdir.exe –update Protected_Dir -remove_user johndoe

4) Subdomain.exe

Quote:
subdomain.exe –create subdomain2 -domain domain1.com -hard_quota 50 -ssi true

To remove subdomain1.somewhere.com from somewhere.com domain:

Quote:
subdomain.exe –remove subdomain1 -domain somewhere.com

To change the existing subdomain name

Quote:
subdomain1.somewhere.com to the new one – subdomain1_new.somewhere.com
Quote:
subdomain.exe –update subdomain1 -domain somewhere.com -new_name subdomain1_new

To enable FrontPage support for subdomain1.somewhere.com:

Quote:
subdomain.exe –update subdomain1 -domain somewhere.com -fp true

To retrieve information on subdomain1.somewhere.com:

Quote:
subdomain.exe –info subdomain1 -domain somewhere.com

5) domain.exe

Quote:
domain.exe –create domain1.com -clogin John_Doe -dom_user false -www true -hosting true -ip 143.230.22.14 -cgi true -notify false

To retrieve sampledomain.com domain information:

Quote:
domain.exe –info sampledomain.com

To rename sampledomain.com domain to sampledomain1.com domain:

Quote:
domain.exe –update sampledomain.com -new_name sampledomain1.com

To enable domain user account with password “somepass” for sampledomain.com domain:

Quote:
domain.exe –update sampledomain.com -dom_user true -du_passwd somepass

To set name for domain user of a sampledomain.com domain to “John”:

Quote:
domain.exe –update sampledomain.com -du_pname “John”

To enable hosting for sampledomain.com domain:

Quote:
domain.exe –update sampledomain.com -hosting true

6) plesksrvmng.exe
To reset the password for admin control panel

Quote:
plesksrvmng.exe

To get the existing password for the admin control panel

Quote:
plesksrvmng.exe -get

7) statistics.exe
Updates the statistics for all domains on the server

Source : eukhost

Advertisements

October 13, 2012 Posted by | Windows | Leave a comment