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

    Contributor Lan Nguyen

    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

    4374 Downloads

    3 Comments

    Updated 2 months ago

  • Get VM Folder By Path in vCenter

    Contributor Erik Johnson

    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

    532 Downloads

    0 Comments

    Updated 3 years ago

  • Update Notes for vCenter VM

    Contributor Erik Johnson

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

    356 Downloads

    0 Comments

    Updated 3 years ago

  • Get Notes for vCenter VM

    Contributor Erik Johnson

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

    512 Downloads

    0 Comments

    Updated 3 years ago

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

    Contributor Erik Johnson

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

    384 Downloads

    0 Comments

    Updated 3 years ago

  • Backup or Restore SPBM Profiles in vCenter

    Contributor Jase McCarty

    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

    556 Downloads

    1 Favorite

    2 Comments

    Updated 2 years ago

  • vCenter Template Sync using vRealize Orchestrator

    Contributor Erik Johnson

    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

    438 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • Yet Another vRO vAPI vCenter Tagging Package

    Contributor Erik Johnson

    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

    309 Downloads

    0 Comments

    Updated 3 years ago

  • Create CSI Driver vCenter Roles

    Contributor Dean Lewis

    This script is used to create a new roles on your vCenter server. The newly created role will be filled with the needed permissions for using it with Kubernetes vSphere CSI Driver. The permissions are ...
    vSphere PowerShell
    Download

    171 Downloads

    3 Comments

    Updated 6 months ago