Getting Started with VIX
I'm attempting to get started with a very basic code snippet in VIX. I looked at some of the examples here http://www.vmware.com/support/developer/vix-api/ My goal is to get a basic bit of code...
View Articleconnect failed, 30007 failed to connect to host or proxy
have the following code: #!/usr/bin/perl## Copyright 2006. VMware, Inc. The use of this code is subject to # your agreement to the terms of an applicable VMware license.### This test opens the host,...
View ArticleThere was an error in communication
ESX version: 3.5 U4VIX version: latest Command run:C:\Program Files (x86)\VMware\VMware VIX>vmrun -T esx -h https://172.17.235.10/sdk -u serveruser -p serverpass -gu administrator -gp guestpass...
View ArticlerunProgramInGuest with Switch
Hello, I am attempting to use KIX to initiate a korn shell script with a switch however I get the following error. Please let me know if there is a way of accomplish this, my only other option is to...
View ArticleUnable to get OS from VIX API
I am trying to get OS Name by using VIX API in Java. Syntax :osName = vixVmHandle.readVariable("GuestOS", VixConstants.VIX_VM_CONFIG_RUNTIME_ONLY); in above command I am getting null value in One ESX...
View ArticleBeginRecording Deprecated
Hi guys,I just read through the release notes for VIX 1.11 and noticed the functions BeginRecording, EndRecording, BeginReplay, and EndReplay have been removed. Are there any alternatives (besides...
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 ArticleGetting "VMware Tools are not running in the guest" from VIX, but tools are...
I'm having an issue with a Perl VIX script that I am writing. I am connecting to a VM, I wait for the VMWare tools using VMWaitForToolsInGuest, and then I execute a VBScript. After about 15 minutes, I...
View ArticleSimulate a device status of disconnected in Workstation v.9?
I am trying to find a way to simulate a device status of disconnected in Workstation v.9. I could probably stop/start the network service inside a guest but I'm looking for something more disruptive....
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 ArticleDebugging using Windows Script Host
Sorry for the duplicate posting, the website indicated an error after the first one. Please read the most recent one. Thank you. Hello all, I'm hoping that someone can help me. I started off using...
View ArticlePlease help: Windows Script Host issues with VixCOM API
Hello, I had been using the vix-perl framework and hadn't had any issues, but was told that I had to switch to using the COM API under VBscript specifically. I had read an earlier post here that...
View ArticleHelp request: RunProgramInGuest() can't see files in shared folders
Hello, I'm trying to get shared folders to work and have put the following commands into the autoexec.bat in a hosted Windows XP VM: net use v: /dnet use v: ".host\Shared Folders" When I try and run...
View ArticleNew to VIX API
Hello, I am starting the process of implementing several operations via VIX API (COM, VBScript) and would like to get some suggestions on where I can find solid documentation about functions,...
View ArticleVestris.VMWareLib.VMWareException: Insufficient permissions in host operating...
Hello, I am unable to execute the host.open(..) command to return a machine object using the VIX API.Code is like this: string pathToVM = "[csmrauto1a] " + name + "/" + name + ".vmx";...
View Article/usr/bin/vmware-config-tools.pl --default --compile any hidden options?
Hi,I dug up a very old post to silent install the vmware-tools on linux. There are a bunch of posts on how to silent install them in windows, but I need linux.So I found this someone...
View ArticlePython Module for the VIX API
I started a python module for the VIX API. It is very immature and I've just started it last night. Parts of it are working and other parts are a work in progress. Currently the entire VIX API has...
View ArticleSupport For ESX Yet?
I have seen in various places suggestions that the VIX API will work with ESX at some point, more specifically that 1.1.4 will work with ESX. I have pulled down 1.1.4 and, well, nothing appears to work...
View ArticleVIX for MAC VMware fusion
Hi, I am unable to get VIX library for MAC VMware fusion. Can anyone guide me to get VIX libraries to run vmrun utility? Regards,akash
View ArticleTrying to use VIX coupled with BlackBerry 10 simulator
I've got the basics down, I am using .NET managed wrappers around VIX to boot my BlackBerry 10 emulator. However, there's no 'Guest Tools', so I'm very limited in what I can do. Basically, I need to...
View Article