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 288 Results Sample vSphere
  • Get a list configured alarms

    Contributor Carl Mann

    Retrieves a list of vSphere alarms that are enabled. Original script was pulled from the web and modified to be used in PowerActions. PowerActions A project to help share common scripts in the Powe ...
    vSphere Management SDK PowerShell
    Download

    442 Downloads

    0 Comments

    Updated 7 years ago

  • Execute ESXCLI commands

    Contributor Carl Mann

    Allows execution of ESXCLI commands against an vSphere host through PowerActions. PowerActions A project to help share common scripts in the PowerActions web client fling. To automatically download ...
    vSphere Management SDK PowerShell
    Download

    485 Downloads

    0 Comments

    Updated 7 years ago

  • Change Guest OSID

    Contributor William Lam

    Quick Tip: New Hyper-V guestOS identifier in vSphere 5.5 | virtuallyGhettohttp://www.virtuallyghetto.com/2013/09/quick-tip-new-hyper-v-guestos.html vGhetto Script Repository This repository contain ...
    vSphere Management SDK Perl
    Download

    591 Downloads

    0 Comments

    Updated 2 years ago

  • Datastore Cluster VM Provisioning

    Contributor William Lam

    VM Provisioning on Datastore Clusters in vSphere 5 | virtuallyGhettohttp://www.virtuallyghetto.com/2012/03/vm-provisioning-on-datastore-clusters.html vGhetto Script Repository This repository conta ...
    vSphere Management SDK Perl
    Download

    822 Downloads

    0 Comments

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

    469 Downloads

    0 Comments

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

    668 Downloads

    0 Comments

    Updated 2 years ago

  • Efficent Upload Files To Datastore

    Contributor William Lam

    How to efficiently transfer files to Datastore in vCenter using the vSphere API? | virtuallyGhettohttp://www.virtuallyghetto.com/2014/06/how-to-efficiently-transfer-files-to-datastore-in-vcenter-using ...
    vSphere Management SDK Perl
    Download

    1223 Downloads

    0 Comments

    Updated 2 years ago

  • Enable 16 Plus vSAN Node Support

    Contributor William Lam

    Required ESXi advanced setting to support 16+ node VSAN Cluster | virtuallyGhettohttp://www.virtuallyghetto.com/2014/03/required-esxi-advanced-setting-to-support-16-node-vsan-cluster.html vGhetto S ...
    vSphere Perl SDK Perl
    Download

    1689 Downloads

    0 Comments

    Updated 2 years ago

  • Check ESXi Version

    Contributor William Lam

    Check ESXi Version 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

    857 Downloads

    0 Comments

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

    2039 Downloads

    0 Comments

    Updated 2 years ago