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 60 Results Sample ESXi
  • 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

    802 Downloads

    1 Favorite

    1 Comment

    Updated 1 year 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

    307 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • vSAN Cluster Maintenance

    Contributor Shi Chen

    In a cluster without DRS enabled, user should manually migrate the virtual machines off a host to let the host enter Maintenance Mode. This sample script can automate this process and let the hosts en ...
    VMware PowerCLI PowerShell
    Download

    518 Downloads

    0 Comments

    Updated 3 years ago

  • Report the current FIPS state from an ESXi 6.7 host.

    Contributor Jase McCarty

    This script will report the current state of FIPS for the ssh and rhttpproxy services. Example: Get-VMHostFipsState -VMHost <VMHost> -Service <ssh/rhttpproxy/blank>  
    VMware PowerCLI PowerShell
    Download

    538 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • Capacity and Performance Management Dashboard

    Contributor John Dias

    Quickly see the key capacity of each of your ESXi Clusters by a click of a button. Capacity and Performance Management Dashboard Dashboard Name : One Click Cluster Capacity Dashboard Author : Sunny ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    1441 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • Get Shared Datastore for given ESXi Host Pool and VM

    Contributor Selvakumar Jaganathan

    Get shared datastored for given esxi host, virtual machine and resource pool. This code can also be used for vRA Change Reservation for a VM process.
    vSphere vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
    Download

    678 Downloads

    0 Comments

    Updated 3 years ago

  • Get ESXi Host to Place the VM - DRS Placement.

    Contributor Selvakumar Jaganathan

    Get the ESXi host to place a vm when moving VM to different to cluster via API.  This is part of changing VM's vRA Reservation when VMs moved/migrated to different cluster.
    vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
    Download

    418 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • esxi_certtool

    Contributor Charles Lee

    Simple tool faciliate the replacement of ESXi SSL certificates. Can either operate on a cluster in a VCF instance or an individual host.
    vSphere Python
    Download

    323 Downloads

    0 Comments

    Updated 1 year ago

  • vRealize Operations Manager Dashboard - VMware Update per-CPU Pricing Model

    Contributor Robert Guske

    Gihub-Repository here: https://github.com/rguske/vRealize-Operations-Manager-Dashboard-VMware-Update-per-CPU-Pricing-Model/ How to import: Import and enable the Supermetric Import the Views Import th ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    390 Downloads

    1 Favorite

    0 Comments

    Updated 1 year 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

    533 Downloads

    2 Favorites

    0 Comments

    Updated 2 years ago