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.
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.