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 204 Results Sample vSphere
  • Get Supported VMX Versions

    Contributor alanrenouf

    PowerCLI C:\> $cluster = Get-Cluster CLU1 (Get-View $cluster.ExtensionData.EnvironmentBrowser).QueryConfigOptionDescriptor()     Key                 : vmx-03 Description         : ESX 2.x virtual mach ...
    VMware PowerCLI PowerShell
    Download

    145 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

    176 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

    292 Downloads

    0 Comments

    Updated 2 years ago

  • SSLv3-Configuration-Utility-for-VMware-ESXi-5.x

    Contributor ghegdal

    SSLv3-Configuration-Utility-for-VMware-ESXi-5.x SSLv3 Security protocol configuration utility for VMware ESXi Server 5.x (5.0/5.1/5.5 releases) REFER TO DETAILED-INFO-ON-UTILITY.PDF DOCUMENT FOR SPECI ...
    vSphere Management SDK Java
    Download

    435 Downloads

    0 Comments

    Updated 1 year ago

  • vSphere-ReconfigVM-SeqNThreadedWay

    Contributor ghegdal

    vSphere-ReconfigVM-SeqNThreadedWay 1. Details Utility program to reconfigure ESXi Virtual Machines (Serial & multi threaded way). Serial way: Retrieves all VMs in inventory and perform sequential VM r ...
    vSphere Management SDK Java
    Download

    437 Downloads

    0 Comments

    Updated 1 year ago

  • Import-Export-VDSwitch

    Contributor m.daneri

    Import-Export-VDSwitch Powershell CmdLet to import/export a VMware vSphere Distributed Virtual Switch Configuration Usage Export: PS> Connect-VIServer vcenter01 PS> $dvSw = Get-VDSwitch -Name DSwitch ...
    VMware PowerCLI PowerShell
    Download

    190 Downloads

    0 Comments

    Updated 1 year ago

  • vSphere HA Cluster Reconfiguration utility

    Contributor ghegdal

    vSphere HA Cluster (& ESXi hosts) Reconfiguration utility 1. Details Utility to add vSphere HA Cluster Advanced option and reconfigure HA on all clustered hosts - for changes to take effect. And resto ...
    vSphere Management SDK Java
    Download

    332 Downloads

    0 Comments

    Updated 1 year ago

  • vSphere Fault Tolerance Feature API operations utility

    Contributor ghegdal

    vSphere Fault Tolerance Feature API operations utility 1. Details Utility to illustrate vSphere Fault Tolerance operations on provided Cluster and VM. Illustrates how to Enable, Poweron FT VM Disable ...
    vSphere Management SDK Java
    Download

    395 Downloads

    0 Comments

    Updated 2 years ago

  • Create an exhaustive VM

    Contributor VMware

    Create an exhaustive VM with the following configuration - 3 disks, 2 nics, 2 vcpu, 2 GB, memory, boot=BIOS, 1 cdrom, 1 serial port, 1 parallel port, 1 floppy, boot_device=[CDROM, DISK, ETHERNET]). Th ...
    vSphere Automation SDK for Java Java
    Download

    366 Downloads

    0 Comments

    Updated 1 year ago

  • Configuring a CD ROM device for a VM

    Contributor VMware

    Configuring a CD-ROM device for a VM. This sample is a part of the vSphere Automation SDK for Java. If you wish to build and run the sample, clone or download the vSphere Automation SDK for Java repos ...
    vSphere Automation SDK for Java Java
    Download

    152 Downloads

    0 Comments

    Updated 1 year ago