PowerON VM from remote via PSEXEC and API doesn't work
Frame:VMware Workstation 10.0VS-Studio 2012.NET 4.0Windows 7 64bitVestris.VMwareLib.Dll [version 1.7] <-- wrapper for VIX APIInstalled...
View ArticleCan VIX be used to get UPTIME
Can VIX be used to get UPTIME as seen via a column in vSphere client? I am not looking for the client OS uptime. I'm looking for the time since it was started or since it was last resumed from pause.
View ArticleReading Command Line "STDOUT" output from scripts run in Guest via VIX??
I get the feeling that this is another one of those questions that is asked almost weekly, but unfortunately even if I look, I'm still going to be sure that I'm missing something. Basically, I'm...
View ArticleVMWare API Functionality...
I recently started working on a project involving test automation using VMWare products. The group I started with has purchased Lab Manager and the ESX Server version 3. We are interested in performing...
View ArticleRunProgramInGuest Isolates Mapped Drives to Process Session
Greetings, _vm.RunProgramInGuest("subst.exe", "N: \"C:Program Files\"", 0, null, null) returns without errors but the drive doesn't appear in the current user session. I'm running Windows XP and...
View ArticleERROR CODE 3 :VIX_E_INVALID_ARG while connecting using sample programs
Hi all, I am newbie, I am using VMware WS 6 on cent OS (2.6 kernel) and VIX API v1.1.5. I am getting an error when trying to execute the sample programs given with the VIX APIs. Using the...
View ArticleCan removable devices connect or disconnect with VIX API?
Hi, I want to be able to connect a USB device (currently being connected to the host) to the guest with command-line or program. Is this possible in some way? Menu -> VM -> Removable...
View ArticleVmrun.exe and UNC Paths
Greetings, Are UNC paths to .vmx fully supported by vmrun (version 1.8.1)? vmrun list will returns 0 running vms if they were loaded and launched using the UNC path to the vmx config file. Thank...
View ArticleQuestion about VMCI
Is there a forum around for VMCI? I'm trying to test out vm to vm communication using vmci sockets on windows guests. The Programming Guide doesn't mention much about the vsocklib.dll provided...
View ArticleVIX API using VBScript and snapshot properties
Is it possible to get a snapshot name using VBScript? I have been able to get a snapshot object using GetRootSnapShot or GetChild but I am trying to the name name of the snapshot. Thanks,
View ArticleVIX API communicating to a FreeBSD VM
Are there any known issues with the VIX API communicating from a windows server with vCenter to a FreeBSD VM to make calls like RunProgramInGuest?
View ArticleIssue calling VIX API from vSphere Client
We are calling the VIX APIs from the vSphere Client Plug-in. I am loading the vSPhere Plug-in with vSPhere Client 4.1. When I call VIXHost_Connet for VMWare WOrkstion 7.1.X, I get the below error....
View ArticleProblem linking against latest version of VixAllProducts.lib
I've researched various posts but none of the suggested workarounds seem to work. I am using VS 2010, linking against this library works fine in 1.10.3.Does anyone have any pointers? By the way, I get...
View ArticleMemory leak when using the wrapper library?
When compiling the following code against the windows wrapper library, I seem to have an memory leak. After ~1500 reverts is has consumed about 170 MB of RAM. It starts as about ~7MB. After ~50 the...
View Articlevifs --get internal error
Hi, I'm getting an internal error 500 from # vifs --server srv2 --username root --password *** -g "[SATA-RAID5] ISO/CentOS-6.2-x86_64-minimal.iso" ./xGET...
View ArticleWhere and what is the folder d:\build\ob\bora-xxxxx\
Dear Colleagues, This may be a stupid question but I am unable to find a clear and straight answer anywhere. Can someone tell me where I can find this following folder "d:\build\ob\bora-xxxxx\" What is...
View ArticlePossible to list snapshots using VIX?
Is it possible to use just VIX 1.7 within a C# app to list a VM's snapshots by name? I've been looking over the VIX API Reference Documentation and haven't been able to find a function that will list...
View ArticleVIX_E_HOST_USER_PERMISSIONS and VIX_E_VM_NOT_RUNNING errors on VixVM_PowerOn...
I'm doing stress testing of automation of spin-up and tear-down of many virtual machines on an ESX4u1 system using the vix libraries. I've noticed the following behaviors that I was hoping someone at...
View Articlehow to unlock vmdk files?
Hi, Im using vix api to create a snapshot of guest os. After creating snapshot i try to download the snapshot files to remote machine without power off the guest os . But the problem is...
View ArticleHow to ignore quotes in vmrun commands
Hi, I am trying to execute a vmrun command like below which is working fine. vmrun -T esx -h https://test.eng.vmware.com/sdk -u root -p password -gu root -gp password runProgramInGuest "[datastore]...
View Article