Reply to Message

View discussion in a popup

Replying to:
alanrenouf
VMware Employee
VMware Employee

Patch Compliance for a host

Ok, Loving the cmdlets for VUM, great job !

I am trying to get a list of the updates which apply to my host, I have done the following so far:

$VMHostObj = Get-VMHost testesx

$Baseline = Get-Baseline "ESXi Updates"

$Baseline | Attach-Baseline -Entity $VMHostObj

$VMHostObj | Scan-Inventory

Get-Compliance -Entity $VMHostObj

I would have thought the Get-Complance object would contain a list of the patches which are missing from my host as per the below screenshot, but I cant seam to find them, any ideas? am I missing something ?

!Patches.jpg!

Alan Renouf

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
Tags (2)
Reply
0 Kudos