6.5.1

Table Of Contents
ImageProfileDi Object Properties
When you run the Compare-EsxImageProfile cmdlet, you pass in two parameters, first the reference
profile, and then the comparison profile. The cmdlet returns an ImageProfileDiff object, which has the
following properties.
Name Type Description
CompAcceptanceLevel System.String
The acceptance level for the second
profile that you passed to Compare-
EsxImageProfile.
DowngradeFromRef System.String[]
The list of VIBs in the second profile that
are downgrades from VIBs in the first
profile.
Equal System.Boolean
True if the two image profiles have
identical packages and acceptance levels.
OnlyInComp System.String
The list of VIBs found only in the second
profile that you passed to Compare-
EsxImageProfile.
OnlyInRef System.String[]
The list of VIBs found only in the first
profile that you passed to Compare-
EsxImageProfile.
PackagesEqual System.Boolean
True if the image profiles have identical
sets of VIB packages.
RefAcceptanceLevel System.String
The acceptance level for the first profile
that you passed to Compare-
EsxImageProfile.
UpgradeFromRef System.String[]
The list of VIBs in the second profile that
are upgrades from VIBs in the first profile.
SoftwareVersion Object Properties
The SoftwareVersion object lets you compare two version strings. The object includes a Comparestatic
method that accepts two strings as input and returns 1 if the first version string is a higher number than
the second version string. Compare returns 0 if two versions strings are equal. Compare returns -1 if the
second version string is a higher number than the first string. The object has the following properties.
Name Type Description
Version System.String
The part of the version before the hyphen.
This part indicates the primary version.
Release System.String
The part of the version after the hyphen.
This part indicates the release version.
vSphere Installation and Setup
VMware, Inc. 51