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

  • Application Management Services

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 227 Results Sample vmware
  • List Datastore Info

    Contributor lamw

    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

    3308 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • Add VM Extra Config Tags

    Contributor michaelwrice

    Adds additional args to allow the vm uuid to be set. pyvmomi-community-samples Community contributed samples for the pyVmomi library. The pyVmomi library itself is hosted here: https://github.c ...
    vSphere Management SDK Python
    Download

    656 Downloads

    0 Comments

    Updated 3 years ago

  • Lease Tool

    Contributor ChristianDickmann

    Lease Tool
    vSphere Management SDK Ruby
    Download

    519 Downloads

    0 Comments

    Updated 11 months ago

  • Change VM Vif

    Contributor Reuben13

    Written by Reubenur RahmanGithub: https://github.com/rreubenur/This code is released under the terms of the Apache 2http://www.apache.org/licenses/LICENSE-2.0.htmlExample script to change the network ...
    vSphere Management SDK Python
    Download

    829 Downloads

    0 Comments

    Updated 3 years ago

  • Clone VM

    Contributor LogLevel_9

    Written by Dann BohnGithub: https://github.com/whereismyjetpackEmail: dannbohn@gmail.comClone a VM from template example pyvmomi-community-samples Community contributed samples for the pyVmomi l ...
    vSphere Management SDK Python
    Download

    1472 Downloads

    0 Comments

    Updated 7 months ago

  • Home Lab Deployment

    Contributor alanrenouf

    Script to automate the build of a home lab to vSphere 6.5, this script starts from ESX and configures VSAN, deploys vCenter and configures it and adds William Lams Content Library
    VMware PowerCLI PowerShell
    Download

    1381 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • Home Lab Delete Settings

    Contributor alanrenouf

    Used to delete the home lab as configured by the Home Lab Script here: https://developercenter.vmware.com/samples/1463/home-lab-deployment?h=Sample
    VMware PowerCLI PowerShell
    Download

    438 Downloads

    0 Comments

    Updated 2 years ago

  • VRealize Operations Maintenance Mode

    Contributor alanrenouf

    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

    758 Downloads

    1 Comment

    Updated 2 years ago

  • Library CRUD

    Contributor VMware

    Library CRUD Demonstrates the basic operations of a content library. The sample also demonstrates the interoperability of the VIM and vAPI. Note: the workflow needs an existing VC DS with available s ...
    vSphere Automation SDK for Python Python
    Download

    532 Downloads

    0 Comments

    Updated 2 years ago

  • ISO Mount

    Contributor VMware

    ISO Mount Demonstrates the content library ISO item mount and unmount workflow via the mount and unmount APIs from the ISO service. This sample is a part of the VMware vSphere Automation SDK for Py ...
    vSphere Automation SDK for Python Python
    Download

    534 Downloads

    0 Comments

    Updated 1 year ago

;