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 268 Results Sample vSphere
  • vtopology

    Contributor Cormac Hogan

    ... vtopology is a combination of bash and Powershell/PowerCLI for displaying vSphere topology from kubectl. The idea is that you should be able to map Kubernetes objects (e.g. nodes, PVs) to vSphere ...
    Other PowerShell
    Download

    194 Downloads

    0 Comments

    Updated 5 months ago

  • The All-in-One Virtual SAN Deployment Script

    Contributor Alan Renouf

    Virtual SAN Deployment Script - The All-in-One Virtual SAN Deployment Script
    VMware PowerCLI PowerShell
    Download

    508 Downloads

    0 Comments

    Updated 4 years ago

  • Add NFS Datastore in ESXi

    Contributor Kiran Kumar P

    ... //:: # Description: Creating/Mounting NFS datastore in ESXi(no connection to vCenter server) using vSphere API.  //::# How to run this sample: http://vthinkbeyondvm.com/getting-started-with-yavi-j ...
    vSphere Management SDK Java
    Download

    758 Downloads

    0 Comments

    Updated 4 years ago

  • CLS API Helper

    Contributor VMware Inc

    CLS API Helper Helper class to perform commonly used operations using Content Library API. This sample is a part of the VMware vSphere Automation SDK for Python To build and run this sample, pleas ...
    vSphere Automation SDK for Python Python
    Download

    740 Downloads

    0 Comments

    Updated 2 years ago

  • CLS API Client

    Contributor VMware Inc

    CLS API Client This is a simplified wrapper around the Content Library APIs. It is used to access services exposed by Content Library Service. This sample is a part of the VMware vSphere Automation ...
    vSphere Automation SDK for Python Python
    Download

    966 Downloads

    0 Comments

    Updated 1 year ago

  • CLS Sync Helper

    Contributor VMware Inc

    CLS Sync Helper Helper class to wait for the subscribed libraries and items to be synchronized completely with the publisher. This sample is a part of the VMware vSphere Automation SDK for Python ...
    vSphere Automation SDK for Python Python
    Download

    528 Downloads

    0 Comments

    Updated 4 years ago

  • OVF Import Export

    Contributor VMware Inc

    OVF Import Export Demonstrates the workflow to import an OVF package into the content library, as well as download of an OVF template from the content library. Note: the workflow needs an existing VC ...
    vSphere Automation SDK for Python Python
    Download

    794 Downloads

    0 Comments

    Updated 4 years ago

  • Library Publish Subscribe

    Contributor VMware Inc

    Library Publish Subscribe Demonstrates the basic sync workflow to publish and subscribe content libraries. Note: the workflow needs an existing VC datastore with available storage. This sample is a ...
    vSphere Automation SDK for Python Python
    Download

    609 Downloads

    0 Comments

    Updated 4 years ago

  • Deploy OVF Template

    Contributor VMware Inc

    Deploy OVF Template Demonstrates the workflow to deploy an OVF library item to a resource pool. Note: the sample needs an existing library item with an OVF template and an existing cluster with resou ...
    vSphere Automation SDK for Python Python
    Download

    1435 Downloads

    0 Comments

    Updated 3 years ago

  • Content Update

    Contributor VMware Inc

    Content Update Demonstrates the workflow of updating a content library item. Note: the workflow needs an existing datastore (of type vmfs) with available storage. This sample is a part of the VMwar ...
    vSphere Automation SDK for Python Python
    Download

    358 Downloads

    0 Comments

    Updated 4 years ago