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 228 Results Sample vRealize Automation
  • Execute REST request building block

    Contributor Ivan Krolo

    Introduction This action can be utilized as the lowest level action with any form of REST communication, to be called by higher level actions or workflows.  It encapsulate the REST communication with ...
    vRealize Orchestrator JavaScript
    Download

    415 Downloads

    0 Comments

    Updated 2 years ago

  • Search vSphere Entities by Name

    Contributor Surabhi Tandon

    vRO actions to search entities in vCenter by name.  The code uses Property Collector that allows faster retrieval times even in large environments.  Valid for all versions of vCenter.  Possible use ca ...
    vRealize Orchestrator Plug-in SDK vRealize Orchestrator JavaScript
    Download

    284 Downloads

    0 Comments

    Updated 2 years ago

  • Add VM to NSX Security Tag and Security Group

    Contributor Selvakumar Jaganathan

    This vRO Workflow will add VM to NSX Security Tags and Security Groups.
    NSX for vSphere vRealize Orchestrator Plug-in SDK vRO Workflow
    Download

    253 Downloads

    0 Comments

    Updated 2 years ago

  • Get Guest VM OperationReady State and VMware Tools Running

    Contributor Selvakumar Jaganathan

    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

    446 Downloads

    0 Comments

    Updated 2 years ago

  • vRealize Orchestrator JS to perform blocking compute resource data collection in vRealize Automation

    Contributor Brandon Saxe

    The out of the box workflow for data collection works across the entire set of compute resources in a given vRA environment. This set of code shows how to perform a specific data collection on a singl ...
    vRealize Automation JavaScript
    Download

    88 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • vRO workflows and actions that manage vRA property groups

    Contributor Erik Johnson

    Example vRealize Orchestrator workflows and actions that work with vRealize Automation Property Groups Actions Workflows
    vRealize Orchestrator Plug-in SDK vRealize Orchestrator Log Insight Content Pack
    Download

    156 Downloads

    2 Favorites

    0 Comments

    Updated 2 years ago

  • Run vRA Resource Actions from vRO

    Contributor Erik Johnson

    Example vRealize Orchestrator workflows that can run resource actions on a vRealize Automation VM
    vRealize Orchestrator vRealize Orchestrator Plug-in SDK JavaScript
    Download

    183 Downloads

    0 Comments

    Updated 2 years ago

  • Retrieve reservation policy name from its ID in vRO

    Contributor Franc Stephen

    After the request, you will see only reservation policy ID (GUID) instead of its displayName so, you can use this code to retrieve reservation policy name for further execution or add a property and a ...
    vRealize Automation vCloud Automation Center SDK JavaScript
    Download

    452 Downloads

    0 Comments

    Updated 2 years ago

  • Add New vNIC to vCenter VM

    Contributor Surabhi Tandon

    Creates multiple new virtual network interface cards and adds it to a virtual machine.  vNIC is connected to the specified network
    vRealize Orchestrator Plug-in SDK vRealize Orchestrator JavaScript
    Download

    281 Downloads

    0 Comments

    Updated 2 years ago

  • Integrate LANDesk through vRA vRO using landesk webservices

    Contributor Franc Stephen

    ... we can add or remove vms from Landesk inventory using landesk webservices. I have given example to remove a vm during vRA decommission process. I used powershell to execute this command.
    vRealize Automation vRealize Orchestrator PowerShell
    Download

    529 Downloads

    0 Comments

    Updated 2 years ago