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 1755 Results Sample
  • Simple Cluster and Host Overview - Designed for Exec Level

    Contributor Thomas Kopton

    These two simple dashboards, partially based on OOB content, shows the current utilization of clusters and hosts and provides a short summary for Exec levels. Installation: Download and extract the f ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    358 Downloads

    0 Comments

    Updated 1 year ago

  • vROPS Windows Server Checker Dashboard

    Contributor Lan Nguyen

    On January 14th 2020 Microsoft will be officially ending its support for Windows 2008 Servers.  This Dashboard will instantly assess your environment for Windows 2008 Servers and below.  Instructions ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    469 Downloads

    0 Comments

    Updated 1 year ago

  • hcibenchapi

    Contributor Charles Lee

    Updated version of the sample code for the HCIBench API (https://code.vmware.com/samples?id=6502) for Python 3.7. This sample code was developped and tested with HCIBench 2.3.0 (https://flings.vmware. ...
    Other Python
    Download

    211 Downloads

    0 Comments

    Updated 1 year ago

  • vTagSync

    Contributor Nicolas Vibert

    In short, this is what vTagSync does: Tag assigned to a VM generates an vCenter event Event is logged on Log Intelligence (aka vRealize Log Insight Cloud) as an alert vRealize Log Insight Cloud forwa ...
    VMware Cloud on AWS NSX-T Data Center Python
    Download

    402 Downloads

    0 Comments

    Updated 1 year ago

  • PowerCLI Port of RVC command vsan.cluster_info

    Contributor Jase McCarty

    This script includes a function that reports the vSAN Cluster information for a vSAN Cluster. Information included is: Host configurations vSAN Witness Host configuration (if Stretched Cluster or 2 N ...
    VMware PowerCLI PowerShell
    Download

    308 Downloads

    0 Comments

    Updated 1 year ago

  • PowerCLI Port of RVC command vsan.disks_info

    Contributor Jase McCarty

    This PowerCLI script will return a list of local disks on a vSAN host as the vsan.disks_info RVC command does. Disk information includes the name, model, revision, whether an SSD or not, use by vSAN ...
    VMware PowerCLI PowerShell
    Download

    271 Downloads

    0 Comments

    Updated 1 year ago

  • PowerCLI Port of RVC command vsan.health.cluster_repair_immediately

    Contributor Jase McCarty

    This script will invoke the process to repair any vSAN Objects that need to be repaired. This is typically used when the 60 minute (default) Repair Timer has not expired, but an administrator would li ...
    VMware PowerCLI PowerShell
    Download

    237 Downloads

    0 Comments

    Updated 1 year ago

  • PowerCLI Port of RVC command vsan.stretchedcluster.witness_info

    Contributor Jase McCarty

    This script includes a function that reports the vSAN Witness information for a 2 Node or Stretched vSAN Cluster. Information included is: Cluster Name Witness Host Name Witness Uuid Witness IP Addre ...
    VMware PowerCLI PowerShell
    Download

    287 Downloads

    0 Comments

    Updated 1 year ago

  • Listing vSphere Alarms - Get-TriggeredAlarm

    Contributor Kyle Ruddy

    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

    479 Downloads

    0 Comments

    Updated 1 year ago

  • vRealize Operations dashboards to monitor VMware Cloud on AWS

    Contributor Sunny Dua

    I have seen a number of asks for dashboards that can help with monitoring specific use cases related to VMware Cloud on AWS. With this post, I will share four such dashboards that I have been working ...
    VMware Cloud on AWS vRealize Operations Manager vRealize Ops Dashboard
    Download

    1388 Downloads

    0 Comments

    Updated 1 year ago