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

  • 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 1231 Results Sample
  • Automating new Cloud Motion with vSphere Replication using HCX API

    Contributor lamw

    PowerShell Module for Hybrid Cloud Extension (HCX) API which enables a number of operations including automating the new Cloud Motion with vSphere Replication migration type using HCX API Please see h ...
    VMware Cloud on AWS VMware PowerCLI PowerShell
    Download

    189 Downloads

    0 Comments

    Updated 19 hours ago

  • Managing Public IP Addresses in VMC using PowerCLI

    Contributor lamw

    The VMC module now contains three new functions to help manage Public IP Address in VMC from retrieving the current allocated IPs to requesting a new address and lastly to remove an address.  Get-VMC ...
    VMware Cloud on AWS VMware Cloud on AWS API VMware Cloud Services Platform (CSP) VMware PowerCLI PowerShell
    Download

    184 Downloads

    0 Comments

    Updated 19 hours ago

  • VM Uptime

    Contributor Iwan Rahabok

    ... http://virtual-red-dot.info/vm-availability-monitoring/ The up time of a VM is more complex than that of a physical machine. Just because the VM is powered on, does not mean the Guest OS is up and ...
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    7 Downloads

    0 Comments

    Updated 1 day ago

  • ESXi Host down

    Contributor RickVerstegen

    Displays the number of ESXi Host(s) that are down.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    22 Downloads

    0 Comments

    Updated 2 days ago

  • use AD Software installation GPO for silent enrollment into Workspace ONE UEM

    Contributor Pim_van_de_Vis

    Overview Author: Hilko Lantinga and Pim van de Vis Email: pvandevis@vmware.com Date Created: 18/4/2019 Supported Platforms: Windows 10 Enterprise and Education Purpose This script will alter the Air ...
    AirWatch Other Language
    Download

    8 Downloads

    0 Comments

    Updated 2 days ago

  • NUMA Memory Size

    Contributor Dan_Kahl

    Metric for NUMA Memory size for an ESXi host.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    10 Downloads

    0 Comments

    Updated 2 days ago

  • NUMA CPU Size

    Contributor Dan_Kahl

    Metric for NUMA CPU size for an ESXi host.  
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    15 Downloads

    0 Comments

    Updated 2 days ago

  • Bulk management of Devices and Users

    Contributor MrTechGadget

    A group of scripts which are used to bulk manage Workspace ONE UEM (AirWatch) managed devices and users. https://github.com/MrTechGadget/aw-bulkdevices-script   aw-bulkdevices-script A group of scri ...
    AirWatch PowerShell
    Download

    326 Downloads

    1 Favorite

    3 Comments

    Updated 3 days ago

  • vSAN Encrypted Cluster Status

    Contributor vm_spot

    This dashboard shows the encryption status for hosts, cache disks, and capacity disks for the selected vSAN encrypted cluster as a series of heatmaps to quickly identify objects that do not have encry ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    10 Downloads

    0 Comments

    Updated 3 days ago

  • vSAN Host Encryption Status

    Contributor vm_spot

    Returns a value of 0 or 1 depending on whether or not the selected vSAN host has encryption enabled. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    9 Downloads

    0 Comments

    Updated 3 days ago