This script returns the inventory items to which baselines are attached.
To use the script:
Connect to the vSphere server that has a vCenter Update Manager server installed on it.
Retrieve the baseline(s) you are interested
$baseline = Get-Baseline "Critical Host Patches"
Supply it when executing the script