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.


SDK / Platform / Tool

  • Application Management Services

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform



1 - 2 of 2 Results Sample ROBO
  • PowerCLI vSAN Witness Deployment

    Contributor Jasemccarty

    This script deploys a vSAN 6.0/6.5/6.7/& 6.7 P01 Witness Appliance. It will: Configure networking Add the vSAN Witness to vCenter Allows either Management (vmk0) or vmk1 to have vSAN Traffic tagged ( ...
    VMware PowerCLI PowerShell



    Updated 7 days ago

  • Sample 2 Node vSAN Deployment Script

    Contributor Jasemccarty

    I started some of this with PowerCLI 6.x and have recently only used it with PowerCLI 10.x  vSphere 6.5 Update 1 (July 2017) is the earliest build I've validated it on lately - Your Mileage May Vary o ...
    VMware PowerCLI PowerShell



    Updated 1 year ago