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

  • 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 53 Results Sample ESXi
  • ESXi Physical Disk Report including Controller and Physical Location

    Contributor Jasemccarty

    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

    319 Downloads

    0 Comments

    Updated 2 months ago

  • Upgrade ESXi Hosts

    Contributor streaks6

    Automatic-ESXi-Host-Upgrade Host upgrade performs configuration backups and uses VUM to upgrade hosts which are backed up and "NonCompliant" serially. Clusters can be upgraded one at a time and the sc ...
    VMware PowerCLI PowerShell
    Download

    596 Downloads

    0 Comments

    Updated 2 years ago

  • VMware-Community-Orchestration-Tool-VMCOT-

    Contributor marioxherrera

    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

    70 Downloads

    0 Comments

    Updated 6 months ago

  • Configure ESXi Power Policy

    Contributor lamw

    Python script to configure power management policy on ESXi host vGhetto Script Repository This repository contains a collection of sample scripts across various programming/scripting languages for ...
    vSphere Management SDK Python
    Download

    476 Downloads

    0 Comments

    Updated 3 years ago

  • Generate Host Configuration Worksheet

    Contributor lamw

    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

    1670 Downloads

    0 Comments

    Updated 3 years ago

  • Generate Log Bundle

    Contributor lamw

    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

    943 Downloads

    0 Comments

    Updated 3 years ago

  • Generate DCUI Screen

    Contributor lamw

    How to add a splash of color to ESXi DCUI Welcome Screen | virtuallyGhettohttp://www.virtuallyghetto.com/2010/09/how-to-add-splash-of-color-to-esxi-dcui.html vGhetto Script Repository This reposito ...
    vSphere Perl SDK Perl
    Download

    463 Downloads

    0 Comments

    Updated 3 years ago

  • Generate ESXi Hosts List

    Contributor lamw

    Automating SSL Certificate Expiry Validation for vCenter Server + ESX(i) Hosts | virtuallyGhettohttp://www.virtuallyghetto.com/2012/03/automating-ssl-certificate-expiry.html vGhetto Script Reposito ...
    vSphere Perl SDK Perl
    Download

    431 Downloads

    0 Comments

    Updated 3 years ago

  • Host Cache Management

    Contributor lamw

    How to Automate Host Cache Configuration in ESXi 5 | virtuallyGhettohttp://www.virtuallyghetto.com/2011/07/how-to-automate-host-cache.html vGhetto Script Repository This repository contains a colle ...
    vSphere Perl SDK Perl
    Download

    289 Downloads

    0 Comments

    Updated 3 years ago

  • Change Path Policy ESXi RR V 01

    Contributor szemmali

    Overview: vCollect provides a PowerCLI scripts that produce infrastructure audit and reports of VMware SDDC (vSphere, NSX, vCloud DIrector, vRealize Automation) environments in CSV or Excel file forma ...
    VMware PowerCLI PowerShell
    Download

    163 Downloads

    2 Favorites

    0 Comments

    Updated 3 months ago

;