Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

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 cmdlet, we can download the patches. This cmdlet initiates the download of new patches and returns a task object. To get the status of the task, we can use the Get-Task cmdlet:

As you can see in the preceding example...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath