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
- dynamictypes-vCenterDrsRules.packageThis vRealize Orchestrator package creates a Dynamic Type (DT) for the management of vSphere Cluster DRS VM Affinity, Anti-Affinity rules and VMGroup to HostGroup Affinity and Anti-Affinity rules. Onc ...vRealize Automation vRealize Orchestrator vRO Package
- Re-enable SDRS on VMs where SDRS was disabled when particular datastore was selected for VM placement... //:: # Product/Feature: vCenter Server/SDRS //::# Reference: https://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wssdk.apiref.doc/vim.StorageResourceManager.html#configureStorageDrsForPod //:: ...vSphere Management SDK Java
- SDRS VM Overrides.NOTES Product/Feature: vCenter Server/SDRS .NOTES Author: Vikas Shitole .NOTES Reference: https://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wssdk.apiref.doc/vim.StorageResourceManager.html#co ...VMware PowerCLI PowerShell