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 222 Results Sample vSphere
  • Basic Kubernetes Tests with PKS

    Contributor kendrickcoleman

    Basic Kubernetes Tests with PKS When creating a new PKS cluster, there needs to be a starting point. How do you verify everything is working as it should? This set of instructions I built for myself a ...
    PKS Shell Script
    Download

    213 Downloads

    0 Comments

    Updated 11 months ago

  • vCloud Director Extender v1.1 - Powershell Module

    Contributor AdrianTT

    A PowerShell module to expose API for managing vCloud Extender 1.X. The primary use case for these cmdlets is to automate deployment of the solution (e.g. repeatable consistent deployment in a Lab) an ...
    vCloud Director For Service Providers PowerShell
    Download

    189 Downloads

    0 Comments

    Updated 1 year ago

  • Get Guest VM OperationReady State and VMware Tools Running

    Contributor sjaganat16

    Get Guest VM state is in Operation Ready and the VMware Tools is in running state This is used before running any Guest Operations Tasks.
    vSphere vRealize Orchestrator Plug-in SDK JavaScript
    Download

    241 Downloads

    0 Comments

    Updated 8 months ago

  • Search vSphere Entities by Name

    Contributor standvirtual

    vRO actions to search entities in vCenter by name.  The code uses Property Collector that allows faster retrieval times even in large environments.  Valid for all versions of vCenter.  Possible use ca ...
    vRealize Orchestrator Plug-in SDK vRealize Orchestrator JavaScript
    Download

    100 Downloads

    0 Comments

    Updated 8 months ago

  • Importing VM annotation and notes from CSV file into vCenter

    Contributor kunaludapi

    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

    677 Downloads

    0 Comments

    Updated 3 years 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

    165 Downloads

    0 Comments

    Updated 3 years ago

  • Swarm Sample Scripts

    Contributor mreferre

    Massimo Re Ferre' www.it20.info Sample Swarm clusters scripts? These are a set of sample scripts that are intended to illustrate how to properly use docker-machine in conjunction with a vSphere end-po ...
    vSphere Management SDK Other Language
    Download

    65 Downloads

    0 Comments

    Updated 3 years ago

  • Configure SMP-FT for a Virtual Machine

    Contributor lamw

    .SYNOPSIS Configure SMP-FT for a Virtual Machine .DESCRIPTION The function will allow you to enable/disable SMP-FT for a Virtual Machine .NOTES Author: William Lam .NOTES Site: www.virtuallyghetto.com ...
    VMware PowerCLI PowerShell
    Download

    253 Downloads

    0 Comments

    Updated 3 years ago

  • ESXi- Hostd Service StatFetcher

    Contributor ghegdal

    VMware ESXi- Hostd Service StatFetcher 1. Details Utility to retrieve ESXi Hostd Service Stats such as Memory usage and Limit Threads Usage and Limit FD Usage and Limit Responsiveness Utility connec ...
    vSphere Management SDK Java
    Download

    589 Downloads

    0 Comments

    Updated 2 years ago

  • ESXi Perf Sample

    Contributor hartsocks

    vSphere Python SDK program for demonstrating vSphere perfManager API based onRbvmomi sample https://gist.github.com/toobulkeh/6124975 pyvmomi-community-samples Community contributed samples for ...
    vSphere Management SDK Python
    Download

    2251 Downloads

    0 Comments

    Updated 3 years ago

;