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 Platform

  • Data Center & Cloud Infrastructure

  • Enterprise Mobility Management

  • Other Platform

Language

1 - 10 of 61 Results Sample Request
  • Report on Cluster Capacity with Python

    Contributor Pinball

    I have and existing PowerCli script that reports on a list of capacity value for every cluster in our vc. (Cluster Name, # Hosts in cluster, # CPU's, # of cores, Memory, Virtual on, virtual off, templ ...
    vCloud Suite Python Python

    REQUESTED

    2 Solutions

    3 Favorites

    2 Comments

    Updated 2 years ago

  • Cluster Capacity script

    Contributor Pinball

    I have a need to do a Cluster Capacity based report daily, up to now i've been using Powercli for this but as our environment grows the current scripts takes over 6 hours to complete for our 10 vc's c ...
    vCloud Suite Python Python

    REQUESTED

    0 Solutions

    1 Favorite

    0 Comments

    Updated 2 years ago

  • Need a sample code to specify datastore capacity

    Contributor Sainath_Rao

    Hi, We need a sample code to specify the Datastore capacity in creation of Datastore process. .NET vSphere SDK sample code. Thanks, Sainath
    vSphere Management C#

    REQUESTED

    0 Solutions

    1 Favorite

    1 Comment

    Updated 3 years ago

  • Windows 10 Desktop Deployment

    Contributor wpinch

    Looking into Windows10 Virtual Desktop Deployment BluePrint for VRA Example for QA/Production
    vRealize Automation vRA Blueprint

    REQUESTED

    0 Solutions

    1 Favorite

    0 Comments

    Updated 1 year ago

  • How to convert type of variables

    Contributor junghuahsu

    Is there any way to convert string to vCACCAFE:Catalogitem or NSX:Connection or other complex data type in vRO?
    vRealize Orchestrator vRealize Automation vRealize Automation JavaScript

    REQUESTED

    0 Solutions

    1 Favorite

    2 Comments

    Updated 7 months ago

  • VMs created in the past 7 days

    Contributor Highlnder

    I would like a workflow that can be schedule weekly that will email a report of all VM's that have been created in the past 7 days. The report would need to show Created Time, Username, and the name o ...
    vRealize Orchestrator vRO Workflow

    REQUESTED

    0 Solutions

    1 Comment

    Updated 2 years ago

  • vRO Configuration attributes report with dependencies

    Contributor jacquesperrin

    Hi , i would like to build a vRO Workflow to export all configuration attributes AND find for each of them the workflows whose use it I 'm able to parse all workflow attributes, but the attribute obje ...
    vRealize Orchestrator JavaScript

    REQUESTED

    0 Solutions

    1 Comment

    Updated 11 months ago

  • Need to pull CDP information based on a search for a guest server

    Contributor nwade1

    Hello, My first post here so my apologies if I'm barking up the wrong tree here but I am searching for a way via API calls to do the following. It really doesn't matter what language but C# may be a g ...
    VMware {code} Python POSTMAN Collection C# Ruby

    REQUESTED

    0 Solutions

    0 Comments

    Updated 1 year ago

  • create a full vsphere infrastructure tree with licences datacenters clusters switches dvswitches and portgroups

    Contributor mldmld

    Provide samples to build a full vsphere infrastructure in order to build or rebuild a vsphere tree with - vsphere licences - datacenters, - clusters in datacenters, - ESXi in clusters - standard vswit ...
    Other Platform Other Language

    REQUESTED

    4 Solutions

    0 Comments

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

    0 Comments

    Updated 10 months ago

;