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

  • Developer Tools

  • End-User Computing

  • Management & Orchestration

  • Storage

  • Platform & Compute

Contributor

Language

1 - 10 of 906 Results Sample
  • Any Custom Property Extraction Windows

    Contributor daphnissov

    This software component is a demonstration of how it is possible to extract any custom property that is delivered in the payload to a provisioned machine, bypassing the limitations of property binding ...
    vRealize Automation vRA Blueprint
    Download

    9 Downloads

    0 Comments

    Updated 2 days ago

  • macOS Bootstrap Package

    Contributor jrichards9

    Gives the ability to provision packages immediately post enrollment to allow admins the ability to customize the device configurations as needed using their existing tools. Bootstrap Package The Boo ...
    Airwatch Shell Script
    Download

    734 Downloads

    2 Favorites

    0 Comments

    Updated 4 days ago

  • Ghetto VCB

    Contributor lamw

    ghettoVCB Description The ghettoVCB script performs backups of virtual machines residing on ESX(i) 3.x, 4.x, 5.x & 6.x servers using methodology similar to VMware's VCB tool. The script takes snapsho ...
    vSphere Management Shell
    Download

    2267 Downloads

    2 Favorites

    0 Comments

    Updated 5 days ago

  • Use Lodash.js Library in Workflow script

    Contributor eservent

    As the Rhino JavaScript compilation is not really recent (1.1), a lot of wonderfull modern Javascript features are missing. To use modern features, as map or filter, simply invoke this action and use ...
    vRealize Orchestrator JavaScript
    Download

    9 Downloads

    0 Comments

    Updated 6 days ago

  • vSAN 6.x Stretched Cluster and 2 Node PowerCLI Module

    Contributor Jasemccarty

    Module for vSAN Stretched Cluster & 2 Node I took some of my existing scripts and combined them into a module Setup requires the psd1/psm1 files to be put in a VSANSC2N directory under Powershell Modu ...
    VMware PowerCLI PowerShell
    Download

    87 Downloads

    2 Comments

    Updated 7 days ago

  • Export VMC Tasks to a CSV

    Contributor dglading

    PowerCLI script to export tasks from VMware Cloud on AWS to a CSV file Requires VMC Module   
    vSphere PowerCLI PowerShell
    Download

    7 Downloads

    0 Comments

    Updated 7 days ago

  • Dynamic Drop-Downs

    Contributor daphnissov

    This vRO package is a collection of three vRO Actions written as illustrations for the article Drop-Down Lists in vRealize Automation, from Static to Dynamic to External. Two of them are simple return ...
    vRealize Orchestrator vRO Package
    Download

    7 Downloads

    0 Comments

    Updated 7 days ago

  • getValuesFromMSSQLDB

    Contributor daphnissov

    This is an example action demonstrating how to query a specific Microsoft SQL database within a supplied table for values only in a certain column. You can use this action to dynamically populate a dr ...
    vRealize Orchestrator vRO Workflow
    Download

    12 Downloads

    0 Comments

    Updated 7 days ago

  • Get the value from vCACCAFELiteralMap

    Contributor tnavarro1

    Find and return the value of a given key defined in a vCACCAFE:vCACCAFELiteralMap Performs depth-first search
    vRealize Automation vRealize Automation vRealize Orchestrator vRealize Automation JavaScript
    Download

    88 Downloads

    0 Comments

    Updated 9 days ago

  • Get the network names of a vRA compute resource - IaaS

    Contributor tnavarro1

    Get the network names of a compute resource (IaaS)
    vRealize Orchestrator vRealize Automation vRealize Automation vRealize Automation JavaScript
    Download

    13 Downloads

    0 Comments

    Updated 9 days ago