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 - 7 of 7 Results Sample vm
  • VROPS Dashboard for VM Right Sizing and Performance

    Contributor Dale Hassinger

    This dashboard (and 7 views) was tested in vROPs 8.3 and 8.4.  vRealize Operations does a good job to show you what the correct number for vCPU/Memory settings should be based on monitoring history. ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    149 Downloads

    1 Favorite

    2 Comments

    Updated 1 year ago

  • VROPS Dashboard for VM Right Sizing and Performance

    Contributor Dale Hassinger

    This dashboard (and 7 views and 1 supermetric) was tested in vROPs 8.3 thru 8.6.  vRealize Operations does a good job to show you what the correct number for vCPU/Memory settings should be based on ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    694 Downloads

    1 Comment

    Updated 4 months ago

  • Importing VM annotation and notes from CSV file into vCenter

    Contributor kunal udapi

    As in the earlier blog after exporting VM annotations, notes and other useful information to CSV/excel file, It was time to Import those information on new vCenter, This new vCenter has new Esxi Serve ...
    VMware PowerCLI PowerShell
    Download

    1294 Downloads

    0 Comments

    Updated 7 years ago

  • Get the UUID for a Virtual Machine

    Contributor Joshua Levy

    This sample code shows how to get the UUID of a VirtualMachine, and the UUID of the vCenter that it is part of. How To Run In order to run this sample code you must provide four arguments: [1] The ser ...
    vSphere Management SDK Java
    Download

    1542 Downloads

    0 Comments

    Updated 7 years ago

  • Clone a VM update settings on the new clones and power them up

    Contributor Joshua Levy

    This sample code shows how to clone a VM (repeatedly, if needed), change some settings on all of the new VM created, and then power up all the new VMs. How To Run In order to run this sample code you ...
    vSphere Management SDK Java
    Download

    976 Downloads

    0 Comments

    Updated 7 years ago

  • Shows the name of a cluster containing a given VM

    Contributor Joshua Levy

    This sample code retrieves a list of clusters ordered by the number of CPUs How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The user ...
    vSphere Management SDK Java
    Download

    743 Downloads

    0 Comments

    Updated 7 years ago

  • Retrieve a list of virtual disk for a given VM

    Contributor Nilmax Moura

    This sample code shows how to retrieve a list of virtual disk for a given VM. How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The use ...
    vSphere Management SDK Java
    Download

    1226 Downloads

    0 Comments

    Updated 7 years ago