Quantcast
Channel: VMware Communities : All Content - Virtual Disk Development Kit
Browsing all 947 articles
Browse latest View live

How 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


Programmatically Connecting/Disconnecting Removable Devices using VIX API?

 Is it somehow possible to connect/disconnect removable devices using the VIX API?  Or is there another mechanism how I might archieve that using my own tool/script?     Thanks   

View Article


Can 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 Article

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 Article

VixVM_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 Article


Problems 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 Article

For 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 Article

Getting "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 Article


VIX Perl, VMRunProgramInGuest and reading exitcode

Hello all,is there posibility to read exitcode that program executed via VMRunProgramInGuest returns?  I mean in Perl.I found that there is a VIX_PROPERTY_JOB_RESULT_GUEST_PROGRAM_EXIT_CODE but this is...

View Article


vim-cmd vmsvc/snapshot.removeall command took about 20 mins to finish

Experts, I am using command line tool vim-cmd to control my Vsphere clients' snapshots.Because I can not use vim-cmd to identify one snapshot by name, need to provide Index and Level, which I dont...

View Article

issues 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 Article

VIX 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 Article

Simulate 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 Article


vifs --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 Article

Run 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 Article


vmrun 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 Article

How 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 Article


Will VIX API continue to be supported in vSphere 5.5 ?

Hi, Will the current VIX API's continue to be supported for the upcoming vSphere version - 5.5?I know that, now similar functionality are exposed by Web Services APIs. Still wanted to check whether the...

View Article

copy file from vco to guest failure?

Hi I am running VCO 5.1 appliance in a vsphere 5.1 environment. I am attempting to write a file to a guest machine. I have tried using both Local Administrator and Domain Administrator credentials but...

View Article

PowerOn() 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 Article
Browsing all 947 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>