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 ArticlePre-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 ArticleLooking 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 ArticleSample 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 ArticleVAAI 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 ArticleAligning 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 Articlehow 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 Articlesample code for queryHostPatch_Task
Hi,Can I get reference to using result of queryHostPatch_Task in java code Thanks
View ArticleAdding 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 Articlehow 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 ArticleFailed 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 ArticleBOSH CPI for vCD-backed Infrastructure, including vCHS
Available on GitHub: https://github.com/vchs/bosh_vcloud_cpi
View ArticleGetting 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 ArticlevSphere 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 ArticleSimple 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 ArticleHow 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 ArticleLazy 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 ArticleThere 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 ArticleAdd vRO Action as Programming Language Type
Can we add a vRO Action type for Programming Language?
View Articlesnapshot : 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