bbambalova
VMware Employee
VMware Employee

Hi Alan,

Thanks for the positive feedback!

You must use the –Detailed parameter. The returned detailed compliance status contains lists of patches per each of the compliance statuses. You can retrieve the missing patches this way:

$complianceStatus = Get-Compliance -Entity $VMHostObj –Detailed

$complianceStatus.NotCompliantPatches

The NotCompliantPatches contains a list of the patches with NotCompliant/Missing status.

Biliana

View solution in original post

Reply
0 Kudos