This script works at VC level, where it will iterate through all the Datacenters in that VC and provide the compliance report. What the script does: 1. Connects to the VC server 2. Creates a patch baseline with the bulletinID provided 3. Gets all the Datacenter inventory object attaches the baseline to the datacenter one by one 4. Tests the compliance of the objects under that datacenter against the baseline attached in the previous step 5. Reads the compliance status from the datacenter against the baseline 6. Detaches the baseline from the datacenter 7. Once the tests are done, if the baseline is created by the script, the baseline will be deleted, else it will be retained 8. Disconnect the session from vc Parameter Details: ================== -VC_IP - IP/Hostname of the vCenter Server -User - Username of the vCenter Server -Password - Username of the vCenter Server -BaselineName - Name to be given to the baseline. Can be any string, Example : security-baseline -BulletinID - Bulletin ID to be verified, Example : ESXi650-201912104-SG Command to use the script: vum_test_per_vc.ps1 -VC_IP #VcenterServer#vSphere#ESXi#VMwarePowerCLI#MIT#powercli#PowerShell