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

  • Application Management Services

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Developer Tools

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 961 Results Sample
  • Operationalize Your World 6.7

    Contributor Iwan Rahabok

    A suite of integrated dashboards is the main deliverable of the program. They are not individual, standalone dashboards. They are complimentary and do share super metrics, groups and policies.  For de ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    16 Downloads

    0 Comments

    Updated 12 hours ago

  • Simple local client vmwareclient Pyvmwareclient for Mac Linux Windows

    Contributor wbofh

    The are compile versions at: https://github.com/wbugbofh/pyvmwareclient Simple python client for user whit VM with esxi and Vcenter 5.5, 6.0 and 6.5  for connect, power, an snapshot with virtual machi ...
    vSphere Automation SDK for Python Python
    Download

    558 Downloads

    1 Favorite

    0 Comments

    Updated 13 hours ago

  • Submit a catalog item request via vRA API in PowerShell

    Contributor tnavarro1

    Submits a catalog item request via the vRA API in PowerShell
    vRealize Automation PowerShell
    Download

    281 Downloads

    2 Comments

    Updated 18 hours ago

  • VMware Kubernetes Engine CLI Homebrew Tap

    Contributor AlisterLB

    This is a Homebrew tap for formulae installing the VKE CLI on macOS. Install Assuming you have Homebrew installed, you need to tap this homebrew repo and then brew install the VKE CLI: brew tap ali5t ...
    Other Platform VMware Kubernetes Engine (VKE) Ruby
    Download

    77 Downloads

    0 Comments

    Updated 1 day ago

  • Install Harbor via Bash on CentOS 7

    Contributor kendrickcoleman

    Harbor is an Open Source Project that is sponsored by VMware and is currently being sandboxed by the CNCF. It's a container registry that has all the bells and whistles that include Clair for CVE (cri ...
    Pivotal Container Service (PKS) vSphere Integrated Containers (VIC) VMware Kubernetes Engine (VKE) Shell Script
    Download

    33 Downloads

    0 Comments

    Updated 2 days ago

  • List Folders on a VSAN Datastore using PowerCLI

    Contributor lamw

    This sample lists the "friendly name" of the top level folders of a VSAN Datastore. VSAN uses UUID to reference everythign and you just need to use the vSphere API to translate to the friendly name pr ...
    VMware Cloud on AWS VMware PowerCLI PowerShell
    Download

    10 Downloads

    0 Comments

    Updated 2 days ago

  • Migrate a vm to dvportgroup in a second VC - CrossVC_DVS_vMotion

    Contributor doskiran

    ... 1) Migrate a sourceVC powerON/Off VM connected to standard switch portgroup to DVS dvportgroup in a second VC. 2) Migrate a sourceVC powerON/Off VM connected to one dvportgroup  to another dvportg ...
    vSphere Management SDK Java
    Download

    17 Downloads

    0 Comments

    Updated 2 days ago

  • jekyll-clarity

    Contributor Dan_Linsley

    ... jekyll-clarity Jekyll theme using the Clarity Design System Goals Create an easy to use Jekyll theme that uses the UX guidelines and Style prescribed by the Clarity Design System Stay compatible ...
    Other Platform JavaScript
    Download

    211 Downloads

    1 Favorite

    0 Comments

    Updated 3 days ago

  • Retrieving useful VMC SDDC information using cURL

    Contributor lamw

    More details can be found at https://www.virtuallyghetto.com/2018/09/using-vmc-api-to-answer-commonly-asked-questions-about-your-sddc.html Usage: ./vmc_sddc_summary.sh $TOKEN $ORGID $SDDCID  
    VMware Cloud on AWS API VMware Cloud on AWS VMware Cloud Services Platform (CSP) Shell Script
    Download

    14 Downloads

    0 Comments

    Updated 4 days ago

  • Managing Public IP Addresses in VMC using PowerCLI

    Contributor lamw

    The VMC module now contains three new functions to help manage Public IP Address in VMC from retrieving the current allocated IPs to requesting a new address and lastly to remove an address.  Get-VMC ...
    VMware Cloud on AWS VMware Cloud on AWS API VMware Cloud Services Platform (CSP) VMware PowerCLI PowerShell
    Download

    16 Downloads

    0 Comments

    Updated 5 days ago