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.

Filters

1 - 10 of 80 Results Sample Request
  • Add Disks for Oracle RAC Cluster Install
    I am trying to create an Oracle RAC Cluster blueprint with 2 nodes in VRA. Part of the deployment needs 6 data disks of 500 GB each to be added as SCSI 1 (Bus SCSI 1:0,1:1,1:2,1:3,1:4 & 1:5). The disk ...
    vSphere PowerShell

    REQUESTED

    0 Solutions

    0 Comments

    Updated 9 months ago

  • Do we have sample examples for DVSManagerImportEntityTask DVSManagerExportEntityTask
    Looking for java example for DVSManagerImportEntityTask, DVSManagerExportEntityTask and rollbacktask
    vSphere vSphere Automation SDK for Java Java

    REQUESTED

    1 Solution

    0 Comments

    Updated 10 months ago

  • Resignature VMFS volume
    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 10 months ago

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

    REQUESTED

    0 Solutions

    0 Comments

    Updated 10 months ago

  • SuperMetric for VMware Tools Version
    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 10 months ago

  • Custom resources ADD DRS workflow Orchestrator
    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 10 months ago

  • Horizon Pool Reports
    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 11 months ago

  • NSX Change CLI Credentials Sample
    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 1 year ago

  • Looking for code to add or update Description field on Role
    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 1 year ago

  • Need vROPs snapshot dashboard older than x days
    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 1 year ago