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
- Search VMX FilesUtility program to find all the vmx files in a datastore and register as VMs.vSphere Management SDK Java
- Powerful placeVM API which uses DRS to get recommendations to place the VMs and its virtual disks... //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS //:: # Reference: //:: # Description: Tutorial: PlaceVM API: Live relocate a VM from ...vSphere Management SDK Java
- Create NFS Datastore using vSphere API... //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/NFS //:: # Description: Creating/Mounting NFS datastore using vSphere API. //::# How to ...vSphere Management SDK Java
- Extend VM Hard DiskExtend existing VM harddisk with specified capacity using vSphere API. How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-s ...vSphere Management SDK Java
- Assign dvSwitch portgroup to the specified VM network adapterAssign dvSwitch portgroup to the existing VM network adapter. How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-vmware-vsphere-step-by-ste ...vSphere Management SDK Java
- Add a new network adapter and assign the nic to specified distributed switch portgroupAdd a new network adapter and assign the nic to specified distributed switch portgroup How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-java-opensource-java-sdk-for-v ...vSphere Management SDK Java
- Modify VM RAM CPU and HardDisk at a time with specified values using vSphere java APIDescription: Modify(or Update) VM RAM, CPU and HardDisk at a time with specified values using vSphere java API. Input & Steps:: 1) CPU(numCPUs) - Provide num of cpus count,it never exceed host support ...vSphere Management SDK Java
- Create Distributed Virtual Switch using vSphere java APIDescription: Creates Distributed Virtual Switch in the specified datacenter using vSphere java API. This dvSwitch will create 10 standalone dvports and with 4 uplinks("uplink1", "uplink2","uplink3", ...vSphere Management SDK Java
- Add VMkernel nic for all the hosts in the dvSwitch and enable vMotion.... * Description : Adds the VMkernel network adapter for all the hosts in the dvSwitch and assign them to dvPortgroup ports and also enable vMotion service in vmkernel nics using vSphere java API. In ...vSphere Management SDK Java
- Graphical view of datacenter-VIClient- is a client application developed using VI SDK .This application can be used for viewing entire VMware vSphere components available in a data center visually and graphically and will provi ...vSphere Management SDK Java