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 75 Results Sample cmbucontest
  • vRO Workflow to get a workflow name from an ID

    Contributor Marshall Massengill

    Just a simple vRO workflow to retrieve a workflow name based on a workflow ID.
    vRealize Automation vRealize Orchestrator vRO Workflow
    Download

    449 Downloads

    1 Favorite

    0 Comments

    Updated 4 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

    494 Downloads

    1 Favorite

    0 Comments

    Updated 4 years ago

  • Get Reservation Policy ID for Reservation Policy

    Contributor Selvakumar Jaganathan

    This is vRO action to get Reservation Policy ID for Reservation Policy.
    vRealize Orchestrator Plug-in SDK vRealize Automation JavaScript
    Download

    556 Downloads

    0 Comments

    Updated 4 years ago

  • vRO Code Performance Logger

    Contributor Chris Dombrowski

    Identifying and understanding potential performance issues with vRO code has always been a difficult endeavor. In most cases, debug code is added to suspect code segments to determine where potential ...
    vRealize Automation vRealize Orchestrator vRO Package
    Download

    454 Downloads

    0 Comments

    Updated 4 years ago

  • vRO A Better lockAndWait Solution - LockAndSteal

    Contributor Chris Dombrowski

    This action is a lock and wait for the specified wait time (in seconds) If one owner keeps the lock beyond the specified wait time the lock is removed and the action tries to obtain the lock The vRO l ...
    vRealize Orchestrator vRealize Automation vRO Package
    Download

    365 Downloads

    1 Favorite

    0 Comments

    Updated 4 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

    743 Downloads

    0 Comments

    Updated 4 years ago

  • vRO Workflow Single Instance Execution Enforcement

    Contributor Chris Dombrowski

    There have been numerous times when an automation solution requires that a particular primary workflow only have one instance executing at any one time. An example of this is a custom data collection ...
    vRealize Orchestrator vRO Workflow
    Download

    357 Downloads

    1 Favorite

    0 Comments

    Updated 4 years ago

  • Get ESXi ResourcePool

    Contributor Selvakumar Jaganathan

    Get ESXi Resource Pool using Compute Cluster.
    vSphere vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
    Download

    633 Downloads

    0 Comments

    Updated 4 years ago

  • Get vRA Reservation Object

    Contributor Selvakumar Jaganathan

    Get vRA Reservation Object by using Reservation Name as string.
    vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
    Download

    590 Downloads

    0 Comments

    Updated 4 years ago

  • vRealize Automation Reporting - Export Requests to CSV Report

    Contributor Trisha Navarro

    The Export Requests CSV Report workflow provides the ability to report on completed catalog item requests in one or more vRA instances submitted after a given date (or within the last 24 hours if no d ...
    vRealize Orchestrator vRealize Automation vRO Package
    Download

    883 Downloads

    3 Comments

    Updated 3 years ago