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

    Contributor szemmali

    This script will Listed of all VMs and Snapshot information By vCenter with Login/password and Active directory account :)
    VMware PowerCLI PowerShell
    Download

    242 Downloads

    1 Favorite

    0 Comments

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

    358 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

    572 Downloads

    1 Favorite

    0 Comments

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

    531 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

    478 Downloads

    0 Comments

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

    168 Downloads

    0 Comments

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

    388 Downloads

    0 Comments

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

    103 Downloads

    0 Comments

    Updated 9 months ago

  • Change Path Policy ESXi RR V 01

    Contributor szemmali

    Overview: vCollect provides a PowerCLI scripts that produce infrastructure audit and reports of VMware SDDC (vSphere, NSX, vCloud DIrector, vRealize Automation) environments in CSV or Excel file forma ...
    VMware PowerCLI PowerShell
    Download

    163 Downloads

    2 Favorites

    0 Comments

    Updated 3 months ago

  • Add New Disk To vCenter VM

    Contributor standvirtual

    Creates a new virtual disk and adds it to a virtual machine.  If number of nodes on a SCSI Controller exceeds the limit, a new SCSI Controller is created. Type of new SCSI controller created is same a ...
    vRealize Orchestrator vRealize Orchestrator Plug-in SDK JavaScript
    Download

    217 Downloads

    0 Comments

    Updated 9 months ago

;