VMware Sample Exchange
Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.
Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.
Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.
Filters
Type
SDK / Platform / Tool
Contributor
Language
- VROPS Dashboard for VM Right Sizing and PerformanceThis dashboard (and 7 views) was tested in vROPs 8.3 and 8.4. vRealize Operations does a good job to show you what the correct number for vCPU/Memory settings should be based on monitoring history. ...vRealize Operations Manager vRealize Ops Dashboard
- VROPS Dashboard for VM Right Sizing and PerformanceThis dashboard (and 7 views and 1 supermetric) was tested in vROPs 8.3 thru 8.6. vRealize Operations does a good job to show you what the correct number for vCPU/Memory settings should be based on ...vRealize Operations Manager vRealize Ops Dashboard
- Importing VM annotation and notes from CSV file into vCenterAs in the earlier blog after exporting VM annotations, notes and other useful information to CSV/excel file, It was time to Import those information on new vCenter, This new vCenter has new Esxi Serve ...VMware PowerCLI PowerShell
- Get the UUID for a Virtual MachineThis sample code shows how to get the UUID of a VirtualMachine, and the UUID of the vCenter that it is part of. How To Run In order to run this sample code you must provide four arguments: [1] The ser ...vSphere Management SDK Java
- Clone a VM update settings on the new clones and power them upThis sample code shows how to clone a VM (repeatedly, if needed), change some settings on all of the new VM created, and then power up all the new VMs. How To Run In order to run this sample code you ...vSphere Management SDK Java
- Shows the name of a cluster containing a given VMThis sample code retrieves a list of clusters ordered by the number of CPUs How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The user ...vSphere Management SDK Java
- Retrieve a list of virtual disk for a given VMThis sample code shows how to retrieve a list of virtual disk for a given VM. How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The use ...vSphere Management SDK Java