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 53 Results Sample ESXi
  • 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

    512 Downloads

    1 Favorite

    0 Comments

    Updated 2 years ago

  • Host Cache Management

    Contributor lamw

    How to Automate Host Cache Configuration in ESXi 5 | virtuallyGhettohttp://www.virtuallyghetto.com/2011/07/how-to-automate-host-cache.html vGhetto Script Repository This repository contains a colle ...
    vSphere Perl SDK Perl
    Download

    284 Downloads

    0 Comments

    Updated 3 years ago

  • Set OVF Env

    Contributor lamw

    An alternate way to inject OVF properties when deploying virtual appliances directly onto ESXi | virtuallyGhettohttp://www.virtuallyghetto.com/2014/06/an-alternate-way-to-inject-ovf-properties-when-de ...
    vSphere Perl SDK Perl
    Download

    975 Downloads

    0 Comments

    Updated 3 years ago

  • SetGuestInfo and GetGuestInfo script

    Contributor m.daneri

    Starting from version 5.5  vmware-cmd is not anymore part of ESXI command tools.   Almost any function has been migrated to new tools, like esxcli.    Almost but not all. The most notable absence is t ...
    vSphere Management SDK Python
    Download

    1122 Downloads

    0 Comments

    Updated 3 years ago

  • ESXi health

    Contributor jjasghar

    ESXi health This is a collection of ESXi health checkers for Nagios/Sensu. There are two number exposed by rbvmomi and these check against them. This can be used to look directly at a ESXi host and al ...
    Other Platform Ruby
    Download

    167 Downloads

    0 Comments

    Updated 2 years ago

  • vSphere Automation Tagging Workflow

    Contributor VMware

    vSphere Automation Ruby workflow sample that demonstrates the tagging CRUD operations. This sample is a part of the VMware vSphere Automation SDK for Ruby To build and run this sample, please use git ...
    vSphere Automation SDK for Ruby Ruby
    Download

    280 Downloads

    0 Comments

    Updated 6 months ago

  • Change Passwords

    Contributor CAJason

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

    364 Downloads

    1 Comment

    Updated 3 years ago

  • Rename Local Datastores

    Contributor CAJason

    Renames local datastores on ESXi hosts to use the hostname plus a specified suffix.
    VMware PowerCLI PowerShell
    Download

    344 Downloads

    1 Comment

    Updated 3 years ago

  • Script to install ESXi Embedded Host Client

    Contributor AlisterLB

    Bash script to download the ESXi Embedded Host Client VIB, install it on your ESXi host,  configure the endpoint and update the ESXi Welcome web page with a link to open the host client. (source: http ...
    Other Platform Shell Script
    Download

    370 Downloads

    0 Comments

    Updated 1 year ago

  • Script to install ESXi Embedded Host Client

    Contributor AlisterLB

    Bash script to download the ESXi Embedded Host Client VIB, install it on your ESXi host,  configure the endpoint and update the ESXi Welcome web page with a link to open the host client. (source: http ...
    Other Platform Other Language
    Download

    165 Downloads

    0 Comments

    Updated 3 years ago