O'Reilly logo

Mastering PowerCLI by Sajal Debnath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing vSphere Update Manager

VMware vSphere Update Manager is a tool used to automate patch management and remove manual tracking and patching for ESXi hosts and virtual machines. We can use the following cmdlets to manage Update Manager in a vSphere environment using PowerCLI:

  • Attach-Baseline
  • Detach-Baseline
  • Get-Baseline
  • Remove-Baseline
  • Get-Compliance
  • Download-Patch
  • Get-Patch
  • Stage-Patch
  • Get-PatchBaseline
  • New-PatchBaseline
  • Set-PatchBaseline
  • Remediate-Inventory
  • Scan-Inventory

If you take a look at the cmdlets, you will notice that there are few categories in which we can place the cmdlets. The first of these groups is the one that manages Patch. The following are the three cmdlets for this group:

  • Download-Patch
  • Get-Patch
  • Stage-Patch

Using the first Download-Patch ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required