Sample Code to test VIX install
#include "vix.h"#include <stdlib.h>#include <stdio.h>VixHandle hostHandle = VIX_API_VERSION;VixHandle jobHandle = VIX_INVALID_HANDLE;VixError err;jobHandle =...
View ArticleVIX API Locale for non-Unicode programs Error
Hi All, I use the VIX API 1.11 on the Windows OS and I have a problem with locale for non-Unicode programs.When I try to call the VixHost_Connect() function to connect to VmWare Workstation Hypervisor,...
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 ArticleProblems using vmrun on ESX3.5
Hopefully a quick question because I'm missing something obvious. I am running vmrun version 1.12.1 against an ESX 3.5 Server and am getting partial sucess. If I run: vmrun -T ESX -h http://{ip...
View Articleissues getting the VM to "notice" runtime changes I've made via the VIX API?
Hello there! I appear to have run into an interesting quirk in some automated testing I'm setting up using the VIX VM Perl API, and was wondering if anyone had seen anything similar and/or could offer...
View ArticleAPI for Get-template?.
Hello All,I am trying to find VMware template API command, what we use to get the templates from the vcenter using get-template command in the power cli method. IS anybody know, is any handy guide...
View ArticleWhat is common/ most popular and up to date VIX API for Ruby
I have test framework written in Ruby. To automate some of the tests i would like to use Ruby library for VIX. What would be the best choice of Ruby VIX API to use? This is ongoing development, so it...
View ArticleFrom where i can get the VMCI SDK which can be used in c# development...
HI,I want to implement communication between guest and host machines of a VM using VMCI . My development platform in c#.From where i can get the VMCI SDK which can be used in c# development environment?
View ArticleVMDK mount automation using vixDiskMountServer
It is possible to mount a VMDK disk by right-clicking on it with VMware Workstation 6.5. It uses vixDiskMountServer.exe. Unfortunately, there is no documentation on how to do it automatically. My...
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 ArticleProgramming VIX in Python
Hello: I need to program some funtions with VIX API but I need do it in python. For this purpose I need to import dll, etc to python... and call vix functions from a python script... someone can helps...
View ArticleCannot execute VIX API command on a Powered On Virtual Machine - vCenter
I cannot execute any VIX API vmrun command once the Virtual Machine is powered on. The setup is a vCenter server with a number of esx hosts. I can list all virtual machines, and power the machines...
View ArticleVIX PERL issues ( C RUNTIME library )
I havent been able to use the Simple perl API . I am having the linking issues with runtime libraries . ************SAMPLE code from the SPI programmer guide*******use VMWare::Vix::Simple;use...
View ArticleHow to find version of VIX API installed and uninstall/install it
I have VMware server 1.0.3 installed on Linux.How can I find which version of VIX API installed and how I can install previous version of API, can I keep 2 version of api installed.Your help is...
View ArticleNewbie Question - VixCom 1.2 & Server 2 Beta 1
Hi, I'm a complete newbie at using VIX, and have a hopefully simple question. I am using WMWare Server 2 Beta (Build 63231), and want to create a c# app to control the VM's. I have installed the...
View Articleshrink virtual disk with VIX-API
Shrinking a gueats virtual disk can be very time consumptive, so i thought this would be great if this could be done automatically by programming the Vix-API. But i didn't find anything how this could...
View ArticleStill no shutdown/reboot with Vix-API
I've been programming VMware GSX Server since Version 1.5 with VB6. Now i'am programming VMware Server 1.0.x and 2.x Beta with Vix-API and PowerBasic. One thing i'am missing, because this was...
View ArticleVMware VIX API FindItems() method never returns when querying for registered VMs
Hi, I am using VMware Workstation 6.5 on Windows Vista x64.I am trying to write some C# code that uses VMware Vix v1.6.1 COM API to get a list of registered virtual machines. The code I am using is as...
View Articlevmrun clone: "The Operation is not supported"?
Hi, I am trying to clone a VM using vmrun with vSphere/ESX4 using the following command line: "C:\Program Files\VMware\VMware VIX\vmrun.exe" -T esx -h https://44.1.1.122/sdk -u root -p password...
View ArticleStatically Link Program with libvixallproducts
If I statically link my VIX API script will I have to copy the "libvixAllProducts.so" file to my other Linux boxes to run my script? With the sample code, I was trying the following, which hasn't...
View Article