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.

Can't find the sample you're looking for? Search and browse for sample requests made by VMware community members, or click the "Add New Request" button to make your own requests. You can also help other members in the community out by assigning requests to yourself so you can write a sample that fulfills the request.

Filters

SDK / Platform / Tool

  • Automation Tools

  • Cloud Management

  • Compute Virtualization

  • Developer Tools

  • Digital Workspace

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Storage & Availability

  • Virtual Cloud Networking

Language

1 - 10 of 79 Results Sample Request
  • Do we have sample examples for DVSManagerImportEntityTask DVSManagerExportEntityTask

    Contributor AmitHPE

    Looking for java example for DVSManagerImportEntityTask, DVSManagerExportEntityTask and rollbacktask
    vSphere vSphere Automation SDK for Java Java

    REQUESTED

    1 Solution

    0 Comments

    Updated 2 days ago

  • Resignature VMFS volume

    Contributor ToddMartin

    I need to be able to resignature a cloned VMFS volume on a couple different hosts. I have the UUID's stored in a variable, and I kind of know the verbiage to use the esxcli, but I can't get the method ...
    VMware PowerCLI PowerShell

    REQUESTED

    0 Solutions

    0 Comments

    Updated 2 days ago

  • SRM 8 AddNetworkMapping

    Contributor icehacker

    SRM 8.1 How to add networkmapping in inventory via powercli
    Site Recovery Manager PowerShell

    REQUESTED

    0 Solutions

    0 Comments

    Updated 14 days ago

  • SuperMetric for VMware Tools Version

    Contributor ElVirtualJefe

    I am trying to create a custom group that will show my VMs that DO NOT have VMware Tools version 11.1.1 or higher? Because the VMware Tools Property is a string, I can't do any kind of comparison in t ...
    vRealize Operations Manager vRealize Ops Super Metrics

    REQUESTED

    0 Solutions

    0 Comments

    Updated 22 days ago

  • Custom resources ADD DRS workflow Orchestrator

    Contributor CADR

    Hi All, I would like to use "Add DRS virtual machine group to cluster" workflow at blueprint. Is it possible? How do I fill in these fields(cluster and group _name) below? I tried with input menu and ...
    vRealize Automation vRealize Automation vRealize Automation Cloud vRA Blueprint

    REQUESTED

    0 Solutions

    0 Comments

    Updated 30 days ago

  • Horizon Pool Reports

    Contributor MAnwarZ

    I would like to generate Horizon all pool reports hourly whereby we can get Sessions connected, disconnected, Pool Capacity Use (%) etc.
    Horizon - View Power CLI PowerShell

    REQUESTED

    0 Solutions

    0 Comments

    Updated 1 month ago

  • NSX Change CLI Credentials Sample

    Contributor siddharthasingh13

    Hi All, I wanted to implement Change CLI Credentials functionality for NSXv (6.4) using Ansible ( Python library). I cloudn't find any sample provided by VMware and I am unable to proceed. https://doc ...
    NSX for vSphere VMware NSX-T for Python Python

    REQUESTED

    0 Solutions

    0 Comments

    Updated 2 months ago

  • Looking for code to add or update Description field on Role

    Contributor thinkonba

    The vSphere API authorizationManager's addAuthenticationRole method only takes the role name and a list of privilege names as parameters. I want to be able to populate or update the Description field ...
    vSphere Automation SDK for Python Python

    REQUESTED

    0 Solutions

    0 Comments

    Updated 2 months ago

  • Need vROPs snapshot dashboard older than x days

    Contributor MandeepJ

    I referred to a post "https://code.vmware.com/samples/4659/snapshot-detail-dashboard-for-vrealize-operations-6-7-7-0-7-5-and-8-0" but it pulls all current snapshots, I am looking a way to pull only ol ...
    vRealize Operations Manager vRealize Ops Dashboard

    REQUESTED

    0 Solutions

    1 Comment

    Updated 2 months ago

  • Need help with a view in vrops

    Contributor ops1axg

    Need help in running a report to gather this data. I know in the past vSS was not something we could gather. https://communities.vmware.com/thread/589250 Kinda hoping someone has a view out there or a ...
    vRealize Operations Manager vRealize Operations Manager vRealize Ops Dashboard

    REQUESTED

    0 Solutions

    1 Comment

    Updated 3 months ago