- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Frank,
you can get the not compliant patches with:
$VMHostObj = Get-VMHost YourHost.YourDomain.YourCountry $ComplianceStatus = Get-Compliance -Entity $VMHostObj -Detailed $ComplianceStatus | Select-Object -expandProperty NotCompliantPatches
You can get the values of the other VMware.VumAutomation.Types.Patch[] properties of $ComplianceStatus in the same way.
Robert
Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition