bbambalova
VMware Employee
VMware Employee

Hi harkamal,

If this is the first Update Manager PowerCLI cmdlet you are executing for the current session, at first some initialization steps are performed, connection to the Update Manager server and after that the compliance information is retrieved.

The objects, which Get-Compliance returns, contain these fields: entity, status and baselines. If you have attached host patch baselines to your hosts, the baselines will be retrieved from the server. In addition all information for patches included in these baselines also will be retrieved from the server. So as many patches baselines include, the slower get-compliance is. I suppose that is the reason why Get-Compliance working too slow for you.

About this command Get-Compliance (Get-Folder -noRecurssion). If you have virtual machines and templates in your inventory, the compliance information for them will be also retrieved. Not only for the 8 hosts.

Regards,

Biliana

Reply
0 Kudos