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 2028 Results Sample
  • Skyline Automation Toolkit v1.2.9

    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

    432 Downloads

    1 Comment

    Updated 23 hours ago

  • PowerCLI Port of RVC command vsan.disks_info

    Contributor Jase McCarty

    This PowerCLI script will return a list of local disks on a vSAN host as the vsan.disks_info RVC command does. Disk information includes the name, model, revision, whether an SSD or not, use by vSAN ...
    VMware PowerCLI PowerShell
    Download

    408 Downloads

    1 Comment

    Updated 1 day 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

    528 Downloads

    2 Comments

    Updated 1 day ago

  • PowerCLI Port of RVC command vsan.stretchedcluster.witness_info

    Contributor Jase McCarty

    This script includes a function that reports the vSAN Witness information for a 2 Node or Stretched vSAN Cluster. Information included is: Cluster Name Witness Host Name Witness Uuid Witness IP Addre ...
    VMware PowerCLI PowerShell
    Download

    402 Downloads

    1 Comment

    Updated 1 day ago

  • Get Numofv CPU In Cluster

    Contributor William Lam

    Get Numofv CPU In Cluster vGhetto Script Repository This repository contains a collection of sample scripts across various programming/scripting languages for VMware based solutions. Categories: ...
    vSphere Perl SDK Perl
    Download

    778 Downloads

    1 Favorite

    2 Comments

    Updated 3 days ago

  • macOS Bootstrap Package

    Contributor John John

    Gives the ability to provision packages immediately post enrollment to allow admins the ability to customize the device configurations as needed using their existing tools.
    AirWatch Shell Script
    Download

    2365 Downloads

    2 Favorites

    1 Comment

    Updated 4 days ago

  • International Keyboard key map and key send

    Contributor Ming Liu

    This tool is designed to simulate international keyboard input in Windows, Mac and Linux OS, and provide three functions: - Display keymap to list scan code (Windows) and key code (Windows, Mac, Linux ...
    Other Platform Python
    Download

    1312 Downloads

    1 Favorite

    2 Comments

    Updated 4 days ago

  • TKG Image Builder for Kubernetes v1.26.8 on TKG v2.3.1

    Contributor Paul Spinrad

    Image Builder configuration files for building Tanzu Kubernetes Grid v2.3.1 images using Kubernetes v1.26.8. See Build Machine Images in the VMware Tanzu Kubernetes Grid v2.3 documentation.
    Tanzu Kubernetes Grid Other Language
    Download

    391 Downloads

    2 Comments

    Updated 4 days ago

  • TKG Image Builder for Kubernetes v1.25.13 on TKG v2.3.1

    Contributor Paul Spinrad

    Image Builder configuration files for building Tanzu Kubernetes Grid v2.3.1 images using Kubernetes v1.25.13. See Build Machine Images in the VMware Tanzu Kubernetes Grid v2.3 documentation.
    Tanzu Kubernetes Grid Other Language
    Download

    0 Comments

    Updated 4 days ago

  • TKG Image Builder for Kubernetes v1.24.17 on TKG v2.3.1

    Contributor Paul Spinrad

    Image Builder configuration files for building Tanzu Kubernetes Grid v2.3.1 images using Kubernetes v1.24.17. See Build Machine Images in the VMware Tanzu Kubernetes Grid v2.3 documentation.
    Tanzu Kubernetes Grid Other Language
    Download

    520 Downloads

    1 Comment

    Updated 4 days ago