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

  • Application Management Services

  • 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 114 Results Sample vRO
  • vRO Code Performance Logger

    Contributor Cdombrowski

    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

    138 Downloads

    0 Comments

    Updated 11 months ago

  • Get Shared Datastore for given ESXi Host Pool and VM

    Contributor sjaganat16

    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

    379 Downloads

    0 Comments

    Updated 11 months ago

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

    Contributor sjaganat16

    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

    261 Downloads

    1 Favorite

    0 Comments

    Updated 11 months ago

  • vRO Workflow Single Instance Execution Enforcement

    Contributor Cdombrowski

    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

    193 Downloads

    1 Favorite

    0 Comments

    Updated 11 months ago

  • Get ESXi ResourcePool

    Contributor sjaganat16

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

    339 Downloads

    0 Comments

    Updated 11 months ago

  • Get vRA Reservation Object

    Contributor sjaganat16

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

    307 Downloads

    0 Comments

    Updated 11 months ago

  • vCenter Template Sync using vRealize Orchestrator

    Contributor ejvmw

    The com.vmware.pso.vc.templatesync package provides a set of workflows that can sync VM templates between vCenter servers.  The vRO appliance pulls the specified VM templates from a source vCenter, st ...
    vRealize Orchestrator JavaScript
    Download

    126 Downloads

    1 Favorite

    0 Comments

    Updated 10 months ago

  • vRO Workflow - NSX DFW Rule Export

    Contributor GaryFlynn

    vRO Workflows - NSX DFW Rule Export Export the NSX DFW Rules for all layer 3 Distributed Firewall rules to a CSV and (optionally) email this to the user. Full details of the workflows and installation ...
    vRealize Orchestrator NSX for vSphere vRO Package
    Download

    12 Downloads

    1 Favorite

    0 Comments

    Updated 23 hours ago

  • Bulk Change vRA Reservations for vRA VMs

    Contributor sjaganat16

    This is workflow to change vRA Reservation for bulk vRA VMs where they moved to new compute cluster. This needs csv file input with below details...   vmname cluster usld9l02759 EAMPDCLABT9003 usld9l0 ...
    vRealize Automation vRealize Orchestrator Plug-in SDK vRO Package
    Download

    193 Downloads

    2 Comments

    Updated 3 months ago

  • Get Guest VM OperationReady State and VMware Tools Running

    Contributor sjaganat16

    Get Guest VM state is in Operation Ready and the VMware Tools is in running state This is used before running any Guest Operations Tasks.
    vSphere vRealize Orchestrator Plug-in SDK JavaScript
    Download

    262 Downloads

    0 Comments

    Updated 10 months ago

;