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 60 Results Sample ESXi
  • Dismount VM CD

    Contributor Edgar Sanchez

    Unmounts any CD/DVD ISO image including VMware tools installer, and sets drive selection to "Client Device". Will also detect stale CDROM ISO path Based on https://kb.vmware.com/s/article/66581 and ca ...
    vSphere PowerShell
    Download

    378 Downloads

    0 Comments

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

    3947 Downloads

    1 Favorite

    0 Comments

    Updated 9 months ago

  • Factory Reset ESXi

    Contributor William Lam

    Factory Reset ESXi vGhetto Script Repository This repository contains a collection of sample scripts across various programming/scripting languages for VMware based solutions. Categories: batch o ...
    vSphere Perl SDK Perl
    Download

    621 Downloads

    0 Comments

    Updated 8 months ago

  • Find Lopsided Bootbanks

    Contributor William Lam

    Automating the Search for Lopsided Bootbanks in ESXi 4.x | virtuallyGhettohttp://www.virtuallyghetto.com/2011/08/automating-search-for-lopsided.html vGhetto Script Repository This repository contai ...
    vSphere Perl SDK Perl
    Download

    433 Downloads

    0 Comments

    Updated 8 months ago

  • Generate Host Configuration Worksheet

    Contributor William Lam

    ESXi Migration Worksheet Script | virtuallyGhettohttp://www.virtuallyghetto.com/2011/05/esxi-migration-worksheet-script.html vGhetto Script Repository This repository contains a collection of sampl ...
    vSphere Perl SDK Perl
    Download

    1919 Downloads

    0 Comments

    Updated 8 months ago

  • Get ESXi Hosts

    Contributor William Lam

    Get ESXi Hosts vGhetto Script Repository This repository contains a collection of sample scripts across various programming/scripting languages for VMware based solutions. Categories: batch other ...
    vSphere Perl SDK Perl
    Download

    576 Downloads

    0 Comments

    Updated 8 months ago

  • Get ESXi 5 Hosts

    Contributor William Lam

    Get ESXi 5 Hosts vGhetto Script Repository This repository contains a collection of sample scripts across various programming/scripting languages for VMware based solutions. Categories: batch oth ...
    vSphere Perl SDK Perl
    Download

    428 Downloads

    0 Comments

    Updated 8 months ago

  • ESXi Physical Disk Report including Controller and Physical Location

    Contributor Jase McCarty

    This script provides a report of all of the physical disks in a vSphere cluster, sorted by ESXi host, provided that the Physical Location attribute is available for the disk. The storage controller, s ...
    VMware PowerCLI PowerShell
    Download

    649 Downloads

    0 Comments

    Updated 2 years ago

  • VMware-Community-Orchestration-Tool-VMCOT-

    Contributor Mario Herrera

    VMware Community Orchestration Tool (aka VMCOT) is an open-source project that has been created for all those VMware infrastructure administrators which happen to need to query & bulk configure multip ...
    VMware PowerCLI PowerShell
    Download

    414 Downloads

    1 Comment

    Updated 1 year ago

  • Generate Log Bundle

    Contributor William Lam

    How to generate specific support log bundles for vCenter & ESXi using vSphere API? | virtuallyGhettohttp://www.virtuallyghetto.com/2014/07/how-to-generate-specific-support-log-bundles-for-vcenter-esxi ...
    vSphere Management SDK Perl
    Download

    1094 Downloads

    0 Comments

    Updated 8 months ago