7.0

Table Of Contents
4 Use a comparison operator to compare the VIBs by contents and acceptance level or by a
specific property.
n Compare the two VIBs by their contents and acceptance level.
if ($vib1 -eq $vib2) {
Write-host "Successfully verified that both VIBs are equal."
} else {
Write-host "Failed to verify that the VIBs are equal."
}
n Compare a specific property of the VIBs by using a comparison operator such as -eq, -lt,
-le, -gt, or -ge.
if ($vib1.VersionObject -lt $vib2.VersionObject) {
Write-host "Successfully verified that both the VIBs are equal."
} else {
Write-host "Failed to verify that the VIBs are equal."
}
Working with Acceptance Levels
Hosts, image profiles, and individual VIBs have acceptance levels. VIB acceptance levels show
how the VIB was tested. Understanding what each acceptance level implies, how to change levels,
and what a change implies is an important part of installation and update procedures.
Acceptance levels are set for hosts, image profiles, and individual VIBs. The default acceptance
level for an ESXi image or image profile is PartnerSupported.
Host acceptance levels
The host acceptance level determines which VIBs you can install on a host. You can change
a host's acceptance level with ESXCLI commands. By default, ESXi hosts have an acceptance
level of PartnerSupported to allow for easy updates with PartnerSupported VIBs.
Note VMware supports hosts at the PartnerSupported acceptance level. For problems
with individual VIBs with PartnerSupported acceptance level, contact your partner's support
organization.
Image profile acceptance levels
The image profile acceptance level is set to the lowest VIB acceptance level in the image
profile. If you want to add a VIB with a low acceptance level to an image profile, you can
change the image profile acceptance level with the Set-EsxImageProfile cmdlet. See Set
the Image Profile Acceptance Level.
The vSphere Lifecycle Manager does not display the actual acceptance level. Use vSphere
ESXi Image Builder cmdlets to retrieve the acceptance level information for VIBs and image
profiles.
VIB acceptance levels
VMware ESXi Installation and Setup
VMware, Inc. 64