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

  • Automation Tools

  • Cloud Management Platform

  • Cloud Native Applications

  • Data Center & Cloud Infrastructure

  • Desktop & Application Virtualization

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 12 Results Sample vsphere
  • Get ESXi ResourcePool

    Contributor sjaganat16

    Get ESXi Resource Pool using Compute Cluster.
    vSphere vRealize Automation vRealize Orchestrator Plug-in SDK JavaScript
    Download

    276 Downloads

    0 Comments

    Updated 9 months ago

  • Getting Cluster usage data on CPU Memory and Storage resources

    Contributor vThinkBeyondVM

    What this script does: Report on Cluster usage/capacity data on CPU, Memory and Storage resources across all the cluster in a vCenter server. Author:  Vikas Shitole   www.vThinkBeyondVM.com    
    vSphere Management SDK VMware PowerCLI PowerShell
    Download

    659 Downloads

    1 Comment

    Updated 1 year ago

  • DRS Rules For all VMs In Cluster

    Contributor vThinkBeyondVM

    What this script does: Report on DRS cluster VMs and its assciated VM-VM affinity/anti affinity rules. Author: Vikas Shitole www.vThinkBeyondVM.com
    vSphere Management SDK VMware PowerCLI PowerShell
    Download

    446 Downloads

    0 Comments

    Updated 2 years ago

  • Organization Operations

    Contributor tianhao64

    Python sample for working with VMware Cloud on AWS Organizations. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-python
    VMware Cloud on AWS API vSphere Automation SDK for Python Python
    Download

    490 Downloads

    0 Comments

    Updated 5 months ago

  • Add Remove Hosts

    Contributor tianhao64

    A python sample that demonstrates add and remove ESX hosts. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-python
    VMware Cloud on AWS API vSphere Automation SDK for Python Python
    Download

    632 Downloads

    0 Comments

    Updated 5 months ago

  • Create Delete Sddc

    Contributor tianhao64

    A python samples that demonstrates create and delete a SDDC. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation-sdk-python
    vSphere Automation SDK for Python VMware Cloud on AWS API Python
    Download

    391 Downloads

    0 Comments

    Updated 5 months ago

  • Deploy OVF Template

    Contributor tianhao64

    Demonstrates the workflow to deploy an OVF library item to a resource pool in VMware Cloud on AWS. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vsphere-automation ...
    VMware Cloud on AWS API VMware Cloud on AWS vSphere Automation SDK for Python Python
    Download

    418 Downloads

    0 Comments

    Updated 5 months ago

  • Connect To vSphere With Default Sddc Password

    Contributor tianhao64

    A python sample that demonstrates how to connect to a vSphere in a SDDC using the initial cloud admin credentials. Install vSphere Automation Python SDK to run the sample: https://github.com/vmware/vs ...
    VMware Cloud on AWS API VMware Cloud on AWS Python
    Download

    497 Downloads

    0 Comments

    Updated 5 months ago

  • vCollect Storage By Partition for each vCenter

    Contributor szemmali

    Overview: Many of projects I work on involve collecting an inventory of basic information about the #Disk_Path per VM in the environment per vCenter. VMware Code: https://code.vmware.com/samples/5120 ...
    vSphere VMware PowerCLI PowerShell
    Download

    428 Downloads

    1 Favorite

    0 Comments

    Updated 7 months ago

  • vCollect All VMs details with Hosts Info for All vCenter

    Contributor szemmali

    ...   Overview: vCollect provides a PowerCLI scripts that produce infrastructure audit and reports of VMware SDDC (vSphere, NSX, vCloud DIrector, vRealize Automation) environments in CSV or Excel f ...
    vSphere PowerCLI PowerShell
    Download

    339 Downloads

    1 Favorite

    0 Comments

    Updated 6 months ago

;