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

    Contributor Alan Renouf

    vCheck-vSphere vCheck Daily Report for vSphere vCheck is a PowerShell HTML framework script, the script is designed to run as a scheduled task before you get into the office to present you with key ...
    VMware PowerCLI PowerShell
    Download

    10812 Downloads

    14 Favorites

    5 Comments

    Updated 3 years ago

  • Ghetto VCB

    Contributor William Lam

    ghettoVCB Description The ghettoVCB script performs backups of virtual machines residing on ESX(i) 3.x, 4.x, 5.x & 6.x servers using methodology similar to VMware's VCB tool. The script takes snapsho ...
    vSphere Management SDK Shell
    Download

    3496 Downloads

    3 Favorites

    0 Comments

    Updated 1 month ago

  • VRealize Operations Maintenance Mode

    Contributor Alan Renouf

    vRealize Operations Maintenance Mode   Places a vSphere Inventory object into maintenance mode in vRealize Operations   Example Set All VMs with a name as backup as being in maintenance mode for 20 mi ...
    VMware PowerCLI PowerShell
    Download

    957 Downloads

    1 Comment

    Updated 10 days ago

  • Get All VMs

    Contributor Shawn Hartsock

    Python program for listing the vms on an ESX / vCenter host pyvmomi-community-samples Community contributed samples for the pyVmomi library. The pyVmomi library itself is hosted here: https://g ...
    vSphere Management SDK Python
    Download

    7348 Downloads

    5 Favorites

    5 Comments

    Updated 1 year ago

  • List Datastore Info

    Contributor William Lam

    vSphere Python SDK program for listing all ESXi datastores and theirassociated devices pyvmomi-community-samples Community contributed samples for the pyVmomi library. The pyVmomi library itsel ...
    vSphere Management SDK Python
    Download

    3772 Downloads

    1 Favorite

    0 Comments

    Updated 4 years ago

  • List Datastore Cluster

    Contributor William Lam

    vSphere Python SDK program for listing Datastores in Datastore Cluster pyvmomi-community-samples Community contributed samples for the pyVmomi library. The pyVmomi library itself is hosted here ...
    vSphere Management SDK Python
    Download

    2595 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter Details

    Contributor Shawn Hartsock

    Python program for listing the vms on an ESX / vCenter host pyvmomi-community-samples Community contributed samples for the pyVmomi library. The pyVmomi library itself is hosted here: https://g ...
    vSphere Management SDK Python
    Download

    3188 Downloads

    0 Comments

    Updated 4 years ago

  • Change VM Storage Policy

    Contributor William Lam

    Exploring VSAN APIs Part 6 - Modifying Virtual Machine VM Storage Policy | virtuallyGhettohttp://www.virtuallyghetto.com/2014/03/exploring-vsan-apis-part-6-modifying-virtual-machine-vm-storage-policy. ...
    vSphere Perl SDK Perl
    Download

    2423 Downloads

    2 Favorites

    1 Comment

    Updated 4 years ago

  • ESXi Perf Sample

    Contributor Shawn Hartsock

    vSphere Python SDK program for demonstrating vSphere perfManager API based onRbvmomi sample https://gist.github.com/toobulkeh/6124975 pyvmomi-community-samples Community contributed samples for ...
    vSphere Management SDK Python
    Download

    2563 Downloads

    0 Comments

    Updated 4 years ago

  • VMware vSphere Health Check

    Contributor William Lam

    VMware vSphere Health Check vGhetto Script Repository This repository contains a collection of sample scripts across various programming/scripting languages for VMware based solutions. Categories: ...
    vSphere Management SDK Perl
    Download

    3411 Downloads

    2 Favorites

    0 Comments

    Updated 3 years ago