vix API C# not able read the CPU utilization and memory usage
iam automating the report of the VI server utlilization. Need help to get the CPU ustilization of the server, IP host of the server list and memeory usage of the VI server. I gone through all the...
View ArticleVixVM_Open() returns error "The datastore corresponding to the given...
In one of our setup, VixVM_Open() API call returns error "The datastore corresponding to the given datastore path is not found."The returned error code is 38. The specified vmx path as input to...
View ArticleFor snapshot
I want to get a virtual machine all snapshot,But by VixVM_GetNumRootSnapshots () does not get to all。What should I do to get it?
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 ArticleVIX function to find guest OS volumes
hello I am trying to find volumes of guest OS is there any function or method in VIX.Thanks in advance
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 Articlevmrun insufficient permissions
hello everyonewhen i try to start a vm using the following commandvmrun -t esx -h https://myserver.com/sdk -u domain\user -p ******* start "[datastore1-mydata] vmname/vmname.vmx"i get an error message...
View ArticleRun Program in Guest as an Administrator
I'm attempting to automate some machine set-up tasks using the VIX API with VMware Workstation v9 using VBS. I have hit a blocker when attempting to use the "RunProgramInGuest" option on Windows 8, the...
View ArticleHow to get performance data of average CPU, MEM and NET.
Hi all, I am trying to get the details of performance data CPU, MEM and NET, my code output is as below Thu Jul 18 15:00:00 IST 2013 cpu.usage.average :: 3080Thu Jul 18 15:05:00 IST 2013...
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 ArticlePowerOn() doesn't work if remote Windows sessions are open
Dear Community Members, I would like to get support regarding VMWare Workstation. We are using the VMWare Workstation 9.0.1 (9.0.1 build-894247) to run tests directly on TFS build agents. It...
View ArticleVixJob_Wait or Vix_GetProperties gives 0 for handle
Hi, Is anyone else experiencing troubles on Windows with VIX version 1.12.2-1031769 after VixHost_Connect when trying to get VIX_PROPERTY_JOB_RESULT_HANDLE?I mean both: Vix_GetProperties(jobHandle,...
View ArticleVSphere 5.5 with Vix 1.12 - Cancelled Operation
We are performing a number of guest operations through Vix (1.12), mainly to execute script files over virtual machines (Windows 2008 R2) hosted on VCenter 5.5 (Esxi hosts 5.5). Some of the blocking...
View ArticleHow to get VM path to .vmx file when you have the VM name?
Hi All,I'm using the latest release of VIX API to power on VMs on an ESX server. I'm working with C# in Visual Studio 2012 and currently, I power on the VM using the following code:...
View ArticleVMWare API: Create a Web for see my VMMachines status,info...
Hi all, I'm new in the VMWARE API World. I wish to create a web that let users check their VMMachine Info, status and also Reboot,Start or Shutdown. I've been looking for some info but I'm becoming...
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 ArticleVIX API and Borland Developer Suite 2006 (C++)
Hi,recently i wanted to learn how to deal with the VIX API in C or C++. I tried to compile the sample powerOn.c with my BDS2006 as a C console application and got some errors.First, "stdafx.h" can not...
View Articlevix-perl installation problems
Hi all, I'm having problems installing the vix-perl packages on Windows XP. The first thing i did was installing the ActivePerl-5.8.8.820-MSWin32-x86-274739.msi. Then I started the command prompt of...
View ArticleRuntimeFault: Database temporarily unavailable or has network problems.
RuntimeFault: Database temporarily unavailable or has network problems. I always received that message when creating new Administrator from local users in Linux or adding user permission on a...
View ArticleAdding VM re-alignment to SVMotion - which API?
Hi, I have contacted the author of the Storage vMotion Plugin regarding the feasibility of adding the option to re-align VMs as a part of the Storage vMotion process. I happen to have my misaligned...
View Article