Code Samples and PowerCLI Example Scripts | VMware

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 - 2 of 2 Results Sample VUM
  • PowerCLI Script to Install VMware Host Patches

    Contributor BenLiebowitz

    I wrote this script to make my host patching more effecient.   When I was updating my hosts, while installing updates, I would get involved in other tasks, miss when the host came back after restartin ...
    vSphere Update Manager PowerCLI PowerShell
    Download

    559 Downloads

    0 Comments

    Updated 3 years ago

  • Upgrade ESXi Hosts

    Contributor streaks6

    Automatic-ESXi-Host-Upgrade Host upgrade performs configuration backups and uses VUM to upgrade hosts which are backed up and "NonCompliant" serially. Clusters can be upgraded one at a time and the sc ...
    VMware PowerCLI PowerShell
    Download

    683 Downloads

    0 Comments

    Updated 2 years ago

;