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

    728 Downloads

    0 Comments

    Updated 4 years ago

  • vSphere or ESXi - Enable or Disable TCP Segmentation Offload and Large Receive Offload

    Contributor Jason McCarty

    This script sets TSO/LRO Settings for Physical NICs PSOD w/ESXi 5.x/6.x when using Intel X710 NICs https://kb.vmware.com/kb/2126909 To enable/disable TSO/LRO on pNics Syntax is: Vsan-SetTsoLro.ps1 -VI ...
    VMware PowerCLI PowerShell
    Download

    382 Downloads

    0 Comments

    Updated 2 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

    715 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

    937 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

    506 Downloads

    0 Comments

    Updated 3 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

    747 Downloads

    0 Comments

    Updated 3 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

    550 Downloads

    0 Comments

    Updated 3 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

    1341 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

    342 Downloads

    0 Comments

    Updated 3 years ago

  • VM Template Capture

    Contributor VMware Inc

    VM Template Capture Demonstrates the workflow to capture a virtual machine into a content library. Note: The sample needs an existing virtual machine to capture. This sample is a part of the VMware ...
    vSphere Automation SDK for Python Python
    Download

    621 Downloads

    0 Comments

    Updated 3 years ago