Need help with a program I am writing (VMware, SOAP, etc).
Posted: Wed Mar 27, 2013 2:56 pm
Hey guys, I need some help with a program I am writing. I am trying to write a UI that allows automation for a number of services. It's designed to talk with VMs over a network so that you can automate scripts and tasks in order to save time. I've had a great amount of success with PureBasic interacting with plink, by calling it and passing batch information, however I have hit a bit of a snag.
I am trying to communicate with vSphere in an easy an efficient way. I could do it over SSH, but not many people seem to have SSH enabled on their ESX host. I looked into automating it by passing PowerShell commands, but because I am basically going PB > PowerShell > PowerCLI it makes things a lot more complicated than they need to be, and I am only reliably able to get output from stdout.
I don't particularly want to re-write the entire application in PowerShell, as the only way to make a GUI easily is with a program called Primal Forms that appears to be feature limited or $350 USD. So, my question is this:
Does anyone have a good suggestion for how I can proceed? I know vSphere can talk over SOAP, but I am not really confident in calling external DLLs in PureBasic, and I don't have a lot of examples to look at.
Thanks!
I am trying to communicate with vSphere in an easy an efficient way. I could do it over SSH, but not many people seem to have SSH enabled on their ESX host. I looked into automating it by passing PowerShell commands, but because I am basically going PB > PowerShell > PowerCLI it makes things a lot more complicated than they need to be, and I am only reliably able to get output from stdout.
I don't particularly want to re-write the entire application in PowerShell, as the only way to make a GUI easily is with a program called Primal Forms that appears to be feature limited or $350 USD. So, my question is this:
Does anyone have a good suggestion for how I can proceed? I know vSphere can talk over SOAP, but I am not really confident in calling external DLLs in PureBasic, and I don't have a lot of examples to look at.
Thanks!