Easiest Way to Use VIX from PowerShell?
I need to write a Windows PowerShell script to deploy a Linux VM from a template, assign the network adapters to particular networks, start the VM, copy some files to the VM, execute a script on the...
View ArticleEditing .VMX file through code
Hi, I am not sure VIX API is the right forum to ask this question. Since VIX API helps to do most of guest operations, I dare to ask here. I work with VMware Workstation and I am looking for a...
View ArticleCall to RunProgramInGuest hangs without executing anything
Hello, I'm automating several things on VMs located at a 3.5 ESX host and I've found that sometimes executing RunProgramInGuest just after rebooting the guest does not start the application nor returns...
View ArticleUnable to install bundle for VIX 1.10.2...
Hi,I downloaded this on to my linux box. But it does nto install and givens me an error message.Are there any documented steps for this installation? Am I doing something incorrect?...kt...
View Articleadvice on which apis/tools to use
HI Folks, I'm pretty new to VMware and honestly, navigating through the available APIs and product descriptions is pretty confusing. I'm hoping I can tell you what I want to do and what I've tried and...
View ArticleWhere's VIX_SERVICEPROVIDER_VMWARE_PLAYER in 1.10.2?
Greetings, I do not see VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_PLAYER in my Interop.VixCOM.dll built from the 1.10.2.15207 build of VixCOM.dll. The VIX API reference for 1.10 indicates that it...
View ArticleVIX API Error using C sample code
Hi: I am rookie using VIX API and I hope somebody can help me, I'm using VIX API 1.10.2.331862 and Turbo C++ 4.5 for Windows (with C sample code), but when I try to compile I get the following error...
View Articlehelp with logs from runProgramInGuest hang
Greetings, I'm seeing occasional problems where vmrun runProgramInGuest hangs without explaination. I turned up logging and found that when it hangs, the end of the log file looks like the following....
View ArticleCan we use VIX api to communicate with remote WorkStation?
Is this supported ? I tried to use vmrun utility but it is failing to communicate with remote workstation.
View Articlemonitoring instances and duplication
Is is possible to monitor running VM instances on a ESX server using the VIX API? I want to read current cpu usage and memory usage.What functions do I need to achieve this?If not, what is another...
View Articlevmrun or vix for Solaris 10 guest
I have a Solaris 10 guest instance and am trying to run commands inside the guest from the host OS. I have been told that vmrun does not support Solaris at this time but they suggested I look into...
View ArticleCan we use VIX to get VMNet info from Workstation
Hi, I am using VIX for communicating with VM i.e. to start and run the apps inside VM. I am curious to know , is there any way to get the available VMNet info from Workstation. Usually VMnet0, Vmnet1...
View ArticleRunProgramInGuest
Hi friends: I try to execute a program (*.exe) that is a script made for me. This program at the end create a file. I execute it manually and it finish and create the file successfully, but if I...
View ArticleFeature Request: ability to use "windows session credentials" with the...
Hi. I would like to request the ability to use "windows session credentials" with the Connect vix api function. Thank you.
View ArticleVMX path conflict?
When I search for the vmx path using VIX API's I get it as: [ha-datacenter/Storage1] vm1/vm1.vmxsame time when Java VIX API's request for it, the vmx path is [Storage1] vm1/vm1.vmxSo there is conflict...
View ArticleHow to find the Support for Guest OS by Host.
Hi, I am running my Vix based program on Workstation Host and VMware Server host. My program could run on x86 or x64 bit host. I am curious to know (through Vix) whether the specified guest OS is...
View Articlevmrun only read variables with readVariables that have been written first...
Hello all, I'm trying to read some environment variables with vmrun readVariable <> guestEnv but this way I can only read variables that I've write first with writeVariable. Is this the design of...
View ArticleHow to check whether usb connected to VM with VixCOM?
Hello, We use VMWare Workstation with several VirtualMachines to run our applications. Each VM connects 2 usb devices, sometime usb devices lost the connections. My question: is there any way to check...
View ArticleDiscover which user is logged on the Operating System...
Hi all...Is possible to find out which user is logged on the Guest Operating System. Which user that is running some process in the VM?For example: discover what kind of user is running a application...
View Articleany way to specify location of config file when calling vix api?
Looks like the VIX API, version 10.2, reads /etc/vmware/config, /usr/lib/vmware/config, and $HOME/vmware/config, to read the vix.libdir key. This is on Linux, obviously. Then it uses the vix.libdir...
View Article