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

  • Application Management Services

  • 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 21 Results Sample vcenter
  • 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

    192 Downloads

    0 Comments

    Updated 3 years ago

  • Deploy virtual machines of ova by ovftool

    Contributor xizhousheng

    The utility of codes to present the deployment of vm by ovftool. There are 3 parameters to specify: Source: the ova file to deploy Destination: the localtion on vCenter where to deploy. it is refered ...
    Open Virtualization Format Tool (ovf) Java
    Download

    913 Downloads

    1 Favorite

    1 Comment

    Updated 3 years ago

  • Audit Latency Sensitivity Configuration on all the VMs in vCenter Inventory

    Contributor vThinkBeyondVM

    ... //:: # Product/Feature: vCenter Server/Latency Sensitivity of the VM(Exclusive pCPU-vCPU affinity) //:: # Description: Script to audit Latency sensitivity feature configuration on all the VMs in a ...
    vSphere Management SDK Java
    Download

    397 Downloads

    0 Comments

    Updated 3 years ago

  • Configure Latency Sensitivity feature on the VMs

    Contributor vThinkBeyondVM

    ... //:: # Product/Feature: vCenter Server/Latency Sensitivity of the VM(Exclusive pCPU-vCPU affinity) //:: # Description: Script to configure latency sensitivity feature on the VM and getting list of ...
    vSphere Management SDK Java
    Download

    399 Downloads

    0 Comments

    Updated 3 years ago

  • vRO vCenter 6 Tagging plug-in

    Contributor cdecanini_

    Overview This is a plug-in to handle vCenter tags. It works with leveraging vCenter 6 vAPI. vCenter 6 is the first vCenter version providing a public API for tagging.  See the video to see what it can ...
    vRealize Orchestrator Plug-in SDK vRO Package
    Download

    637 Downloads

    1 Favorite

    0 Comments

    Updated 3 years ago

  • Manage security profile services of an ESXi Host in vCenter

    Contributor tnavarro1

    Start, stop, restart, or uninstall security profile services of an ESXi Host in vCenter. Optionally, specify whether a service policy is to start automatically when ports are open (automatic), start w ...
    vRealize Orchestrator Plug-in SDK JavaScript
    Download

    657 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • Regenerate a new MAC address for a vCenter VM

    Contributor tnavarro1

    Reconfigure a vCenter VM so that it generates a new MAC address at the next reboot, given the old MAC. Returns null if no matching MAC address was found on the VM.
    vRealize Orchestrator Plug-in SDK JavaScript
    Download

    642 Downloads

    0 Comments

    Updated 2 years ago

  • Assign a vCenter tag to a VM via VAPI

    Contributor tnavarro1

    Assign a vCenter tag to a VM via VAPI
    vRealize Orchestrator Plug-in SDK JavaScript
    Download

    437 Downloads

    0 Comments

    Updated 2 years ago

  • Get all compatible Datastores for a vCenter Host and VM

    Contributor tnavarro1

    Get all compatible datastores for a given host, resource pool, and virtual machine. The datstore must have enough free storage space necessary for the VM, and must be accessible and not in an overall ...
    vRealize Orchestrator Plug-in SDK JavaScript
    Download

    2081 Downloads

    0 Comments

    Updated 2 years ago

  • Get Cluster by Name

    Contributor tnavarro1

    Finds and returns the vCenter ClusterComputeResource with the given name, case-insensitive. Also demonstrates how to do a case-insensitive search via xpath, as supported by the Javascript version of v ...
    vRealize Orchestrator Plug-in SDK JavaScript
    Download

    304 Downloads

    0 Comments

    Updated 2 years ago

;