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

SDK / Platform / Tool

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 2029 Results Sample
  • Skyline Automation Toolkit v1.3.0

    Contributor Sonny Nguyen

    The 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
    Download

    1219 Downloads

    2 Comments

    Updated 3 days ago

  • Vminfo Quick

    Contributor Michael Rice

    Written 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
    Download

    2282 Downloads

    1 Comment

    Updated 5 days ago

  • PowerCLI Port of RVC command vsan.health.cluster_repair_immediately

    Contributor Jase McCarty

    This 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
    Download

    347 Downloads

    1 Comment

    Updated 5 days ago

  • PowerCLI Port of RVC command vsan.cluster_info

    Contributor Jase McCarty

    This 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
    Download

    741 Downloads

    2 Comments

    Updated 5 days ago

  • VMCO - Virtual Machine Compute Optimizer

    Contributor Mark McGill

    This 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
    Download

    285 Downloads

    1 Comment

    Updated 7 days ago

  • VCF Compact Cluster

    Contributor VCF VMware

    VCF 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
    Download

    911 Downloads

    1 Comment

    Updated 8 days ago

  • VCF Expand Cluster

    Contributor VCF VMware

    VCF 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
    Download

    1005 Downloads

    1 Comment

    Updated 8 days ago

  • VCF Create Domain

    Contributor VCF VMware

    VCF 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
    Download

    1328 Downloads

    2 Comments

    Updated 8 days ago

  • VCF Get Domains

    Contributor VCF VMware

    VCF 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
    Download

    956 Downloads

    1 Comment

    Updated 8 days ago

  • VCF Delete Domain

    Contributor VCF VMware

    VCF 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
    Download

    970 Downloads

    1 Comment

    Updated 8 days ago