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

  • Cloud Management Platform

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Other Platform

Language

1 - 10 of 43 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 1 year 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 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 1 year 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 10 months ago

  • where could I download the SNMP mib files

    Contributor OttoCui

    I find the Mib FIles url in the document center, however i could find the mib files when i open the url : http://communities.vmware.com/community/developer/forums/managementapi#SNMP-MIB.
    vCenter Converter Other Language

    REQUESTED

    0 Solutions

    1 Comment

    Updated 3 years ago

  • Vsphere replication configuration of multiple vms at a time

    Contributor PrasadAkkineni

    We are doing data center migrations every week, Every week we have to configure replication for hundreds of vms, Do any one have script to automate replication configuration for multiple vms at a time ...
    Html Console Other Language

    REQUESTED

    0 Solutions

    1 Comment

    Updated 2 years ago

  • Senior Systems Engineer

    Contributor TzeShengTang

    I'm looking for a sample microservices application which can be deployed which I plan to use this sample application in a POC for a bank. The characteristics for target applications are (the more fit ...
    Other Platform Java

    REQUESTED

    0 Solutions

    0 Comments

    Updated 2 years ago

  • List VMs by a Filter

    Contributor ucxmyron

    Using the vSphere SDK, I am trying to figure out how to get a list of VMs and filter them by their properties. For example: get all of the VMs with a config.hardware.numCPU value of 2 get all of the V ...
    vSphere Management Java

    REQUESTED

    1 Solution

    3 Comments

    Updated 2 years ago

  • Find all vmx file in a datastore

    Contributor RoyHSIEH

    I have a datastore with a unregister vm(so far i don't know the vm name) I want to find it and get file name then register. but I can't find how to achieve that...so far I can't find a way to list all ...
    vSphere Management Java

    REQUESTED

    1 Solution

    0 Comments

    Updated 2 years ago

  • vRealize Ops API getTopNStatsOfResources

    Contributor cmoser546

    I try to get a Top 25-VMs Disk IOPS for the last 24h from the Ops API via Python. but i was not able to figure out what params i have to submit to the interface getTopNStatsOfResources (/api/resources ...
    vRealize Orchestrator Python

    REQUESTED

    0 Solutions

    0 Comments

    Updated 3 years ago