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
Type
SDK / Platform / Tool
Contributor
Language
- Get a list configured alarmsRetrieves 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
- Execute ESXCLI commandsAllows 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
- Change Guest OSIDQuick 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
- Datastore Cluster VM ProvisioningVM 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
- Find Lopsided BootbanksAutomating 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
- Factory Reset ESXiFactory 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
- Efficent Upload Files To DatastoreHow 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
- Enable 16 Plus vSAN Node SupportRequired 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
- Check ESXi VersionCheck 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
- Generate Host Configuration WorksheetESXi 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