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 61 Results Sample ESXi
  • vCollect All VMs details with Hosts Info for All vCenter

    Contributor Saddam ZEMMALI

    ...   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 f ...
    vSphere PowerCLI PowerShell
    Download

    908 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • vROpsTOP

    Contributor mike gelhar

    The vROpsTOP dashboard is meant to be like using ESXTOP to look at host and VM stats. This is not a 1:1 mapping but more of a similar group of metrics found in ESXTOP. One advantage to this dashboard ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    439 Downloads

    2 Favorites

    0 Comments

    Updated 2 years ago

  • vCollect Hardware Information By ESXi for each vCenter

    Contributor Saddam ZEMMALI

    Overview: Many of the customer projects I work on involve collecting an inventory of basic information about the #VMware #ESXi in the environment, such as CPU/memory specs, OS versions, Power State, a ...
    vSphere PowerShell
    Download

    673 Downloads

    1 Favorite

    1 Comment

    Updated 9 months ago

  • vCollect Storage PATH per ESXi for each vCenter

    Contributor Saddam ZEMMALI

    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 ...
    vSphere PowerShell
    Download

    237 Downloads

    1 Favorite

    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

    268 Downloads

    1 Comment

    Updated 5 months ago

  • vCollect Products for each vCenter

    Contributor Saddam ZEMMALI

    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 ...
    vSphere PowerCLI PowerShell
    Download

    480 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • ESXi Physical Disk Report including Controller and Physical Location

    Contributor Jason 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

    525 Downloads

    0 Comments

    Updated 1 year ago

  • Importing VM annotation and notes from CSV file into vCenter

    Contributor kunal udapi

    As in the earlier blog after exporting VM annotations, notes and other useful information to CSV/excel file, It was time to Import those information on new vCenter, This new vCenter has new Esxi Serve ...
    VMware PowerCLI PowerShell
    Download

    948 Downloads

    0 Comments

    Updated 5 years ago

  • SetGuestInfo and GetGuestInfo script

    Contributor Max Daneri

    Starting from version 5.5  vmware-cmd is not anymore part of ESXI command tools.   Almost any function has been migrated to new tools, like esxcli.    Almost but not all. The most notable absence is t ...
    vSphere Management SDK Python
    Download

    1247 Downloads

    0 Comments

    Updated 4 years ago

  • VSAN DIsk Decommission Script

    Contributor Chen Wei

    After disable vsan in vsphere, executing this script within each ESXi host can decommission all disk groups.
    vSphere CLI Shell Script
    Download

    1689 Downloads

    0 Comments

    Updated 3 days ago