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 231 Results Sample vSphere
  • ESXi Perf Sample

    Contributor hartsocks

    vSphere Python SDK program for demonstrating vSphere perfManager API based onRbvmomi sample https://gist.github.com/toobulkeh/6124975 pyvmomi-community-samples Community contributed samples for ...
    vSphere Management SDK Python
    Download

    2404 Downloads

    0 Comments

    Updated 3 years ago

  • 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

    3492 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • List Datastore Cluster

    Contributor lamw

    vSphere Python SDK program for listing Datastores in Datastore Cluster pyvmomi-community-samples Community contributed samples for the pyVmomi library. The pyVmomi library itself is hosted here ...
    vSphere Management SDK Python
    Download

    2360 Downloads

    0 Comments

    Updated 3 years ago

  • Monitoring vCenter Services using PowerShell

    Contributor ipatsiotis

    This PowerShell script allows you to quickly check the status of vCenter Services. Desciption The script interacts with the REST based vSphere APIs in order to list the status of vCenter Services and ...
    vSphere PowerShell
    Download

    226 Downloads

    0 Comments

    Updated 3 months ago

  • PowerCLI Port of RVC commands vsan.apply_license_to_cluster

    Contributor Jasemccarty

    This script can be used to: Add a license to vCenter if it hasn't already been added Assign that license to a specified cluster  The script includes a function which can be invoked using the followi ...
    VMware PowerCLI PowerShell
    Download

    234 Downloads

    0 Comments

    Updated 3 months ago

  • Queryvsancluster

    Contributor vcharlesl

    Sample code showing how to to query vCenter for vSAN health information.
    Other Platform Python
    Download

    99 Downloads

    0 Comments

    Updated 2 months ago

  • Listing vSphere Alarms - Get-TriggeredAlarm

    Contributor kmruddyVMW

    This function lists the triggered alarms for the specified entity in vCenter. More information available: https://blogs.vmware.com/PowerCLI/2019/11/new-vsphere-alarm-management.html
    VMware PowerCLI vSphere PowerShell
    Download

    161 Downloads

    0 Comments

    Updated 3 months ago

  • Change Guest OSID

    Contributor lamw

    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

    527 Downloads

    0 Comments

    Updated 3 years ago

  • Check ESXi Version

    Contributor lamw

    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

    693 Downloads

    0 Comments

    Updated 3 years ago

  • VM NIC Management

    Contributor lamw

    ... 2 Hidden Virtual Machine Gems in the vSphere 5 API | virtuallyGhettohttp://www.virtuallyghetto.com/2011/07/2-hidden-virtual-machine-gems-in.html vGhetto Script Repository This repository contai ...
    vSphere Management SDK Perl
    Download

    200 Downloads

    0 Comments

    Updated 3 years ago

;