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
1 - 10 of 2029 Results Sample
- Vminfo QuickWritten by Michael Rice Github: https://github.com/michaelrice Website: https://michaelrice.github.io/ Blog: http://www.errr-online.com/ This code has been released under the terms of the Apache 2 lic ...vSphere Management SDK Python
- PowerCLI Port of RVC command vsan.health.cluster_repair_immediatelyThis script will invoke the process to repair any vSAN Objects that need to be repaired. This is typically used when the 60 minute (default) Repair Timer has not expired, but an administrator would li ...VMware PowerCLI PowerShell
- PowerCLI Port of RVC command vsan.cluster_infoThis script includes a function that reports the vSAN Cluster information for a vSAN Cluster. Information included is: Host configurations vSAN Witness Host configuration (if Stretched Cluster or 2 N ...VMware PowerCLI PowerShell
- Skyline Automation Toolkit v1.3.0The Skyline Automation Toolkit is designed to save valuable time in remediating potential issues surfaced by Skyline Advisor to ensure stability, security and productivity. The Toolkit allows cloud ad ...VMware Skyline Advisor Pro PowerShell
- VMCO - Virtual Machine Compute OptimizerThis repository is a Powershell module that can be installed to calculate Virtual Machines' optimal vCPU configuration (number of sockets and cores) based on the physical NUMA of the host it is runnin ...vSphere vSphere CLI PowerShell
- VCF Compact ClusterVCF Compact Cluster: When a host is removed from a cluster in a domain, the vSAN members are reduced. Ensure that you have enough hosts remaining to facilitate the configured vSAN availability. Failur ...VMware Cloud Foundation Python
- VCF Expand ClusterVCF Expand Cluster : Adding an individual host to a cluster adds the resources of that host to the cluster. You can add multiple hosts at a time to a cluster. Use the provided script to expand cluster ...VMware Cloud Foundation Python
- VCF Create DomainVCF Create Domain : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN\\\/NFS\\\/VMFS on FC\\\/ ...VMware Cloud Foundation Python
- VCF Get DomainsVCF Get Domains : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN\\\\\\\/NFS\\\\\\\/VMFS on ...VMware Cloud Foundation Python
- VCF Delete DomainVCF Delete Domain : A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN\\\\\\\/NFS\\\\\\\/VMFS o ...VMware Cloud Foundation Python