Quantcast
Channel: VMware Communities : Unanswered Discussions - Sample Exchange
Browsing latest articles
Browse All 70 View Live

How to increase speed get-vm get-view

 Hi, I'm new in PowerCLI.I'm using next script to obtain Virtual Machine Inventory:  $outputFileVM = 'D:\PowerShell_scripts\Inventory.csv' $VMReport = @() get-vm | sort name | %{ $VM = Get-View $_.ID...

View Article


Pre-requirements vmware scripting

 I am a bit confused. I have installed PowerCLi 4.1 and Powershell 1 and 2.     I still can not get some scripts especially the HealthCheck script... do I still need to install the vmware toolkit and...

View Article


Looking for java code to retrieve virtual disk info on a VM.

 Hi,   I am looking for some sample code to retrieve virtual disk info on a VM.I need to list total capacity of the virtual disk and free (or used) capacity of the disk.  I have gotten far enough to...

View Article

Sample code for accessing a VM

 I'm looking for a basic java class that will access a vm through a vcenter server using the VMware APIs.  Something as simple as one function to give the amount of memory for a VM.  Does anyone have...

View Article

VAAI for vsphere api users

Hi all I'm triying to find an answer to a simple question: I'm a programmer that is using the vsphere api in order to create an internal "cloud" with some features, including snapshot of the virtual...

View Article


Aligning Windows XP VMs

Hi All, I have to align 425 vmdks from 425 desktops. Nowdays, it is 3x ESXi 4.1 HA Clusters.I wanna create a very simple program using vSphere APIs to make this task.Looking for the API, I believe that...

View Article

how to check if vib install failed on esx host

Hi, ManagedObjectReference t = VIM_PORT.installHostPatchV2_Task(patchManager, null, null, vibUrl, null);TaskInfoState tis = null;do {     TaskInfo ti = (TaskInfo) getManagedObjectProperty(t, "info");...

View Article

sample code for queryHostPatch_Task

Hi,Can I get reference to using result of queryHostPatch_Task in java code Thanks

View Article


Adding CIM Framework functionality or classes to VMWare

Thi is related to my other question about where to check the memory/hard drive usage through CIM/SMASH. I THINK this is not possible because VMWare did not implement/populate the classes required to do...

View Article


how to find new lun inside the guest OS through VI SDK API

Hi, My applicaiton is currently sitting inside Virtual machine (Guest OS). With that application I can able to create a RDM lun but I want to map that RDM lun on windows host, so we are going ahead...

View Article

Failed to execute sample code using java command line. Pls help.

Hi there, We are trying to execute a sample in VMware-vSphere-SDK-5.1.0-774886 built with JDK 1.6b22, but it failed with the following exception. Pls help to solve it. Thanks in advance! Br,Sharnbo...

View Article

Ruby vCloud SDK

Available on Github: https://github.com/vchs/ruby_vcloud_sdk

View Article

BOSH CPI for vCD-backed Infrastructure, including vCHS

Available on GitHub: https://github.com/vchs/bosh_vcloud_cpi

View Article


Getting an particular Error in Configuration of Array Manager for one Site...

Dear Community Member; I'm installing SRM 5.1 with back-end Dell Compellent Storage with Array based replication. I'm getting an error while configuring Array Manager for  only one of the site Found...

View Article

vSphere CLI to access VM console OR how to write to a VMDK to include the...

Is there a vSphere CLI [esxcli] or equivalent command available to access the VM console from the esxcli ? I am trying to find a way to include the mgt IP and ssh for the host OS on a VM when it boots...

View Article


Simple shell script to create linkedClones on stand alone ESXi host.

Hey Guys, Last few days I have been working on creating linkedClones in bulk for some of the testing purpose. Since I did not had my vCenter up and running so I spend few minutes to write a simple...

View Article

Image may be NSFW.
Clik here to view.

How to execute commands via web service sdk

Hello,    I want to develop a web client plug-in. This plug-in is used to display hardware information on ESXi. The hardware vendor provides a command-line tool. My question is how to call the command...

View Article


Lazy Native File Clone API failing for sample NVDK plugin

I am trying to run the sample plugin as part of the NAS VAAI NVDK package.  While trying to run the following command: (for Lazy Native File Clone)vmkfstools -v 20 –I <file1.vmdk>...

View Article

Image may be NSFW.
Clik here to view.

There is a problem upload the lab online I'm getting an error message as shown !

Hello, There is a problem upload the lab online I'm getting an error message as shown ! 

View Article

Image may be NSFW.
Clik here to view.

Add vRO Action as Programming Language Type

Can we add a vRO Action type for Programming Language? 

View Article

Image may be NSFW.
Clik here to view.

snapshot : exchange2010

Hello ;i have exchange 2010 sp3 on DAG  , so to patch from windows updates, my qustion is if i can take snapshot exchange 2010 on dagVMware ESXi, 6.0.0, 3620759vSphere Web Client Version 6.5.0 Build...

View Article

Browsing latest articles
Browse All 70 View Live


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