In a vSphere environment, VMware states that vSphere Update
Manager (VUM) is the preferred method of upgrading and patching vSphere. Fortunately,
for PowerShell users, PowerCLI supports performing the functions of VUM.
Using VUM to upgrade ESXi hosts in a GUI is a relatively
straight forward process which is shown
on 4sysps here
by Jim Jones. Using PowerCLI, I will show you how to update
a single ESXi host and an entire cluster. Please note I am using PowerShell
v5.1, PowerCLI v6.3 and vSphere v6 in these examples.
Update Manager baselines
VUM uses baselines, which are a group of patches that you
can “attach” to a template, virtual machine, ESXi host, cluster, data center, folder,
or VApp. After a baseline is attached to one of these entities you can scan to
see if it is in compliance, meaning if it is missing any patches that apply to
it in the baseline. Below you can see how to retrieve compliance information
about a host with the Get-Compliance cmdlet.
$Baseline = Get-Baseline
-Name ‘Critical
Host Patches (Predefined)’
C:> Get-Compliance
-Entity VMHost-1
-Baseline $Baseline
Entity                       Baseline                               Status
——                       ——–                               ——
VMHost-1                     Critical
Host Patches
(Predefined)     Compliant

 

In this article I will be using the “Critical Host Patches”
baseline exclusively. This is a built-in baseline that will include any
critical patch for your ESXi hosts.

Read more on 4Sysops.com

Categories: Technical

1 Comment

meghanasmily03 · May 15, 2017 at 11:20 am

Thanks for the detailed explanation about Vmware vsphere update manager, presently i am looking for vmware jobs in hyderabad, So can u please share information like this then it is useful for me.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Technical

Restart multiple computers with the PowerShell PCSVDevice module

To restart multiple computers with PowerShell and without relying on functionality of the remote operating system, you can use the PCSVDevice module. The module contains several useful cmdlets for out-of-band management and supports the IPMI Read more…

Technical

Remotely migrate user data with USMT and PowerShell

USMT has been a staple for system administrators for years and has greatly reduced the time to migrate data between computers. USMT has the ability to migrate user files, OS settings, and application settings. It Read more…

Technical

Deploy VMware VMs with PowerCLI and MDT

If you are managing Windows servers, chances are you have a mix of physical and virtual servers in your data center. While VMware provides a method to create VMs from templates to simplify server deployments, Read more…