This project is read-only.

How to create virtual machine programatically?

Mar 16, 2010 at 11:29 AM
Edited Mar 16, 2010 at 1:34 PM

Hey i want to create virtual machine in vmware server environment programatically . Does anybody have sample code in c#  for creating virtual machine . I am referencing vestris.vmware.dll and interop.vixcom.dll and can't seem to find createvirtualmachine method which exists for microsoft virtualised environment. Also i want to access console of vmware server in my application. How can i do that.

Mar 16, 2010 at 7:07 PM


As of now, I don't think there is a way to create a VM programatically via the VIX API. You can, however, register an existing .vmx file by using the RegisterVM() method.