• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question executing Plesk (CLI's) from a .NET app ??

bobtib

New Pleskian
Can anyone suggest a way for me to be able to execute a Plesk CLI command from a .NET App?

The exact scenario is that from within our own .NET app we wish to have a control (button) which when clicked will pass a string variable ( $newDomain ) out to the following plesk CLI :

plesk bin site --create $newdomain -webspace-name myWebspace -mail_service false -err_docs true -www-root httpdocs -hosting true

So that a new domain is setup automatically, rather than us logging into the plesk Web GUI and manually creating it

We have full control/access of the windows 2012 server (admin), and the .NET app in question is for our use only - secured by a login and password.

I am not sure that this is even possible, but if it is, would hope that someone could suggest the best and most secure way of doing it.

Many thanks in advance.
 
Back
Top