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

  • Developer Tools

  • Enterprise Mobility Management

  • Hybrid Cloud & Data Center Infrastructure

  • Networking & Security

  • Storage & Availability

  • Other Platform

Contributor

Language

1 - 10 of 201 Results Sample vSphere
  • 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

    486 Downloads

    0 Comments

    Updated 2 years ago

  • Tutorial on how to access and navigate all the vSphere objects

    Contributor vThinkBeyondVM

    ... //:: # Author: Vikas Shitole//:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/VMware ESXi //:: # Reference: http://vthinkbeyondvm.com/tutor ...
    vSphere Management SDK Java
    Download

    1347 Downloads

    0 Comments

    Updated 2 years ago

  • Quickly Get vSphere Cluster Resource Usage capacity cpu mem storage

    Contributor vThinkBeyondVM

    ... //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/Storage //:: # Reference: http://vthinkbeyondvm.com/vsphere-6-0-cool-apis-to-mark-local-h ...
    vSphere Management SDK Java
    Download

    499 Downloads

    0 Comments

    Updated 2 years ago

  • vSphere 6.0 API to Mark HDD as SSD and SSD as HDD

    Contributor vThinkBeyondVM

    ... //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/Storage //:: # Reference: http://vthinkbeyondvm.com/vsphere-6-0-cool-apis-to-mark-local-h ...
    vSphere Management SDK Java
    Download

    124 Downloads

    0 Comments

    Updated 2 years ago

  • Get Datastore Summary

    Contributor vThinkBeyondVM

    ... //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/Storage //:: # Reference: http://vthinkbeyondvm.com/vsphere-6-0-cool-apis-to-mark-local-h ...
    vSphere Management SDK Java
    Download

    239 Downloads

    0 Comments

    Updated 2 years ago

  • Get IPMI Data

    Contributor linotelera

    Simple script to get IPMI Information like ip address, MAC address,...   Source: http://poshcode.org/?show=928
    VMware PowerCLI PowerShell
    Download

    256 Downloads

    0 Comments

    Updated 2 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

    109 Downloads

    0 Comments

    Updated 2 years ago

  • VC Support Helper

    Contributor mhiremath

    VC_support_helper VC support helper to help debug with VMware vCenter support logs VC_support_helper is a python script that helps to debug with VMware vCenter support logs. Basically, vCenter support ...
    vSphere Management SDK Python
    Download

    152 Downloads

    0 Comments

    Updated 2 years ago

  • Get-INFRA statistics from VROPS for 24h uptime

    Contributor Winalex16

    This script search all objects inside the vcenter (VM,Hosts,datastores) and he can get all stats (max,min,average) for 24h   You must create "C:\apps\vrops\" folders or your change le variable inside ...
    VMware PowerCLI PowerShell
    Download

    278 Downloads

    0 Comments

    Updated 2 years ago

  • Change Passwords

    Contributor CAJason

    Changes ESXi Host root passwords for all specified ESXi Servers
    VMware PowerCLI PowerShell
    Download

    211 Downloads

    1 Comment

    Updated 2 years ago