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

  • Automation Tools

  • 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 - 10 of 1540 Results Sample
  • Create CSI Driver vCenter Roles

    Contributor saintdle1

    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

    34 Downloads

    3 Comments

    Updated 1 hour ago

  • vCenter Roles

    Contributor rnelson0

    vCenter-roles Import pre-defined roles for common applications to access vCenter. The privileges for each role are stored in a JSON-format file as a list of privilege Ids (Get-VIPrivilege | Select Id) ...
    vSphere Management SDK PowerShell
    Download

    260 Downloads

    0 Comments

    Updated 1 day ago

  • vtopology

    Contributor CHogan

    ... vtopology is a combination of bash and Powershell/PowerCLI for displaying vSphere topology from kubectl. The idea is that you should be able to map Kubernetes objects (e.g. nodes, PVs) to vSphere ...
    Other PowerShell
    Download

    29 Downloads

    0 Comments

    Updated 2 days ago

  • Simple Cluster-Rightsizing Dashboard - non-HCI

    Contributor ThomasK72

    Overview This simple dashboard helps you determine the number of ESXi Hosts you should add, or you potentially could remove from a vSphere (non-HCI) cluster according to the demand driven capacity cal ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    14 Downloads

    0 Comments

    Updated 3 days ago

  • Postman Client Collection for vRealize Operations REST APIs

    Contributor jddias

    A collection of vRealize Operations REST APIs organized by use case. This collection is updated frequently and typically using the latest release of vRealize Operations. Also now include are some exa ...
    vRealize Operations Manager POSTMAN Collection
    Download

    2562 Downloads

    1 Comment

    Updated 3 days ago

  • Workspace ONE Intelligence Custom Connector Samples

    Contributor aguedesrocha

    These Workspace ONE Intelligence Custom Connector samples contain a list of Postman collections from multiple systems (VMware Carbon Black, JIRA, ServiceNow, Salesforce, Zendesk, Splunk, and others), ...
    Workspace ONE Intelligence POSTMAN Collection
    Download

    277 Downloads

    1 Favorite

    0 Comments

    Updated 3 days ago

  • Python vSphere Client with a dialog interface

    Contributor mnikolov

     Python vSphere Client with a dialog interface PVC is an interactive text-mode VMware vSphere Client with a dialog(1) interface for GNU/Linux systems built on top of the pyVmomi VMware vSphere API Pyt ...
    vCloud Suite SDK for Python Python
    Download

    2381 Downloads

    3 Favorites

    0 Comments

    Updated 3 days ago

  • Change VMware Tools location on multiple ESXi hosts

    Contributor JesperA89

    A PowerCLI script to change the VMware Tools location on multiple ESXi hosts. Normally you'd do this through the Managed Object Browser Required vSphere 6.7U1 or newer!
    vSphere PowerShell
    Download

    6 Downloads

    0 Comments

    Updated 4 days ago

  • Uninstall VIB from multiple hosts using PowerCLI

    Contributor JesperA89

    A PowerShell/PowerCLI script to remove a (or multiple) VIB(s) from one (or multiple) ESXi hosts.
    vSphere PowerShell
    Download

    9 Downloads

    0 Comments

    Updated 4 days ago

  • VM Summary Dashboard

    Contributor brockpeterson

    This dashboard was built in vROps 8.1 and is designed to be a VM Summary type dashboard.  It uses two views: https://github.com/brockpeterson/vrops_dashboards/blob/master/VM%20Summary%20Views.zip http ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    24 Downloads

    1 Favorite

    0 Comments

    Updated 4 days ago