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
- Register NSX-V to vCenter server through APIUsing this script you can register the NSX-V to vCenter serverNSX for vSphere Python
- Add NSXV to Usagemeter 4.3 and 4.4Using this script you can add the NSX-V to usagemetervCloud Usage Meter Python
- Get vCenter Server ThumbprintThis script will help you get the vCenter server thumbprintvSphere CLI Python
- Get Guest VM OperationReady State and VMware Tools RunningGet Guest VM state is in Operation Ready and the VMware Tools is in running state This is used before running any Guest Operations Tasks.vSphere vRealize Orchestrator Plug-in SDK JavaScript
- vCenter Template Sync using vRealize OrchestratorThe com.vmware.pso.vc.templatesync package provides a set of workflows that can sync VM templates between vCenter servers. The vRO appliance pulls the specified VM templates from a source vCenter, st ...vRealize Orchestrator JavaScript
- Inflate all Thin disks on vCenter VM to Thick Eager ZeroConvert all thin provisioned disks on a vCenter VM to thick eager zero.vRealize Orchestrator Plug-in SDK JavaScript
- Get VM Folder By Path in vCentervRO action to search for a vCenter VM folder by path. Example vCenter Folder Path: /RegionA01/vm/Linux/Templates Where RegionA01 is the Datacenter name, and Linux/Templates is the VM folder path to lo ...vRealize Orchestrator JavaScript
-
-
- Yet Another vRO vAPI vCenter Tagging PackagevRO package containing workflows and actions to manage vCenter tags and add/remove them from VMs. The core vAPI tagging actions were created using code from https://code.vmware.com/user/tnavarro1 and ...vRealize Orchestrator vRealize Orchestrator Plug-in SDK JavaScript