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 52 Results Sample vSphere Automation API
  • 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

    468 Downloads

    0 Comments

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

    661 Downloads

    0 Comments

    Updated 2 years ago

  • Updating content of a content library item

    Contributor VMware Inc

    Updating content of a content library item. This sample is a part of the vSphere Automation SDK for Perl. If you wish to build and run the sample, clone or download the vSphere Automation SDK for Perl ...
    vSphere Automation SDK for Perl Perl
    Download

    278 Downloads

    0 Comments

    Updated 4 years ago

  • Configuring a CD ROM device for a VM

    Contributor VMware Inc

    Configuring a CD-ROM device for a VM. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automation SDK for Java repos ...
    vSphere Automation SDK for Java Java
    Download

    1200 Downloads

    0 Comments

    Updated 4 years ago

  • Workflow to deploy an OVF library item to a resource pool

    Contributor VMware Inc

    Workflow to deploy an OVF library item to a resource pool. This sample is a part of the vSphere Automation SDK for Perl. If you wish to build and run the sample, clone or download the vSphere Automati ...
    vSphere Automation SDK for Perl Perl
    Download

    483 Downloads

    0 Comments

    Updated 4 years ago

  • Configuring virtual ethernet adapters of a virtual machine

    Contributor VMware Inc

    Configuring virtual ethernet adapters of a virtual machine. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automat ...
    vSphere Automation SDK for Java Java
    Download

    1477 Downloads

    0 Comments

    Updated 4 years ago

  • Modify the boot devices used by a virtual machine and in what order they are tried

    Contributor VMware Inc

    Modify the boot devices used by a virtual machine, and in what order they are tried. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or dow ...
    vSphere Automation SDK for Java Java
    Download

    1438 Downloads

    0 Comments

    Updated 4 years ago

  • CRUD operations on a content library

    Contributor VMware Inc

    CRUD operations on a content library. This sample is a part of the vSphere Automation SDK for Perl. If you wish to build and run the sample, clone or download the vSphere Automation SDK for Perl repos ...
    vSphere Automation SDK for Perl Perl
    Download

    287 Downloads

    0 Comments

    Updated 4 years ago

  • Content library ISO item mount and unmount workflow

    Contributor VMware Inc

    Content library ISO item mount and unmount workflow. This sample is a part of the vSphere Automation SDK for Perl. If you wish to build and run the sample, clone or download the vSphere Automation SDK ...
    vSphere Automation SDK for Perl Perl
    Download

    277 Downloads

    0 Comments

    Updated 4 years ago

  • Configuring the memory related settings of a virtual machine

    Contributor VMware Inc

    Configuring the memory related settings of a virtual machine. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Autom ...
    vSphere Automation SDK for Java Java
    Download

    333 Downloads

    0 Comments

    Updated 4 years ago