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 - 8 of 8 Results Sample vCenter
  • vCenter Complete Health Check Dashboard

    Contributor lannguyen

    One click and you can analyze everything wrong with your current vCenter Environment!  From physical hardware issues, VM performance and configurations issues, Cluster Configurations issues, Datastore ...
    vRealize Operations Manager vSphere vRealize Ops Dashboard
    Download

    301 Downloads

    0 Comments

    Updated 13 days ago

  • Backup or Restore SPBM Profiles in vCenter

    Contributor Jasemccarty

    This script will either export SPBM policies to a folder or import SPBM policies from a folder. Tested on vCenter 6.5 with PowerCLI 6.5, but should work with earlier versions. Syntax is: To Backup SPB ...
    VMware PowerCLI PowerShell
    Download

    209 Downloads

    1 Favorite

    1 Comment

    Updated 1 year ago

  • vCenter Template Sync using vRealize Orchestrator

    Contributor ejvmw

    The com.vmware.pso.vc.templatesync package provides a set of workflows that can sync VM templates between vCenter servers.  The vRO appliance pulls the specified VM templates from a source vCenter, st ...
    vRealize Orchestrator JavaScript
    Download

    74 Downloads

    1 Favorite

    0 Comments

    Updated 6 months ago

  • Get VM Folder By Path in vCenter

    Contributor ejvmw

    vRO action to search for a vCenter VM folder by path. Example vCenter Folder Path: /RegionA01/vm/Linux/Templates Where RegionA01 is the Datacenter name, and Linux/Templates is the VM folder path to lo ...
    vRealize Orchestrator JavaScript
    Download

    105 Downloads

    0 Comments

    Updated 6 months ago

  • Update Notes for vCenter VM

    Contributor ejvmw

    Update the Notes for a VM in vCenter
    vRealize Orchestrator JavaScript
    Download

    153 Downloads

    0 Comments

    Updated 6 months ago

  • Get Notes for vCenter VM

    Contributor ejvmw

    Return the Notes for a VM in vCenter
    vRealize Orchestrator JavaScript
    Download

    136 Downloads

    0 Comments

    Updated 6 months ago

  • Yet Another vRO vAPI vCenter Tagging Package

    Contributor ejvmw

    vRO package containing workflows and actions to manage vCenter tags and add/remove them from VMs. The core vAPI tagging actions were created using code from https://code.vmware.com/user/tnavarro1 and ...
    vRealize Orchestrator vRealize Orchestrator Plug-in SDK JavaScript
    Download

    73 Downloads

    0 Comments

    Updated 6 months ago

  • Inflate all Thin disks on vCenter VM to Thick Eager Zero

    Contributor ejvmw

    Convert all thin provisioned disks on a vCenter VM to thick eager zero.
    vRealize Orchestrator Plug-in SDK JavaScript
    Download

    121 Downloads

    0 Comments

    Updated 6 months ago