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 1686 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

    11139 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

    3540 Downloads

    3 Favorites

    0 Comments

    Updated 4 months 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

    1006 Downloads

    1 Comment

    Updated 2 months ago

  • Add Disk To VM

    Contributor dann bohn

    Written by Dann BohnGithub: https://github.com/whereismyjetpackEmail: dannbohn@gmail.comScript to add a Hard disk to an existing VMThis is for demonstration purposes only.I did not do a whole lot of s ...
    vSphere Management SDK Python
    Download

    1756 Downloads

    0 Comments

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

    7447 Downloads

    5 Favorites

    5 Comments

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

    3816 Downloads

    1 Favorite

    0 Comments

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

    2627 Downloads

    0 Comments

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

    3215 Downloads

    0 Comments

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

    2441 Downloads

    2 Favorites

    1 Comment

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

    2579 Downloads

    0 Comments

    Updated 1 month ago