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 - 10 of 32 Results Sample vCenter API
  • Unprotect-InstantClone.ps1

    Contributor Mark McGill

    ... <# .NOTES Author: Mark McGill, VMware Last Edit: 11-23-2020 Version 1.1 .SYNOPSIS Unprotect Instant Clone VMs in order to delete those that are abandoned by Horizon .DESCRIPTION Uses vCenter API t ...
    Horizon PowerShell
    Download

    137 Downloads

    0 Comments

    Updated 1 year ago

  • vCenter VM Hardware Adapter SCSI

    Contributor VMware Inc

    vCenter VM Hardware Adapter SCSI Demonstrates how to configure virtual SCSI adapters of a virtual machine. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware ...
    vSphere Automation SDK for Python Python
    Download

    888 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter VM Hardware Adapter SATA

    Contributor VMware Inc

    vCenter VM Hardware Adapter SATA Demonstrates how to configure virtual SATA adapters of a virtual machine. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware ...
    vSphere Automation SDK for Python Python
    Download

    949 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter VM Hardware Memory

    Contributor VMware Inc

    vCenter VM Hardware Memory Demonstrates how to configure the memory related settings of a virtual machine. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware ...
    vSphere Automation SDK for Python Python
    Download

    1015 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter VM Hardware Ethernet

    Contributor VMware Inc

    vCenter VM Hardware Ethernet Demonstrates how to configure virtual ethernet adapters of a virtual machine. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware ...
    vSphere Automation SDK for Python Python
    Download

    1278 Downloads

    0 Comments

    Updated 3 years ago

  • vCenter VM Hardware Parallel

    Contributor VMware Inc

    vCenter VM Hardware Parallel Demonstrates how to configure Parallel ports for a VM. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware vSphere Automation SDK ...
    vSphere Automation SDK for Python Python
    Download

    1098 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter VM Hardware Cdrom

    Contributor VMware Inc

    vCenter VM Hardware Cdrom Demonstrates how to configure CD-ROM devices for a VM. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware vSphere Automation SDK fo ...
    vSphere Automation SDK for Python Python
    Download

    1078 Downloads

    0 Comments

    Updated 4 years ago

  • vCenter VM Hardware Floppy

    Contributor VMware Inc

    vCenter VM Hardware Floppy Demonstrates how to configure Floppy settings for a VM. Sample Prerequisites: The sample needs an existing VM. This sample is a part of the VMware vSphere Automation SDK ...
    vSphere Automation SDK for Python Python
    Download

    386 Downloads

    0 Comments

    Updated 4 years ago

  • Create an exhaustive VM

    Contributor VMware Inc

    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

    1792 Downloads

    0 Comments

    Updated 5 years ago

  • Create a basic VM with following configuration 2 disks 1 nic

    Contributor VMware Inc

    Create a basic VM with following configuration - 2 disks, 1 nic. 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 Au ...
    vSphere Automation SDK for Java Java
    Download

    2073 Downloads

    0 Comments

    Updated 2 years ago