8.0

Table Of Contents
2 (Optional) Run the Get-EsxImageProfile cmdlet to view a list of all image profiles in all
available depots.
In the list, you can locate the names of the image profiles you want to compare.
3 Before comparing the image profiles, assign them to variables.
For example, you can create variables $imageProfile1 and $imageProfile2 to hold the names
of the compared images profiles.
$imageProfile1
= Get-EsxImageProfile -Name "ImageProfile1"
$imageProfile2
= Get-EsxImageProfile -Name "ImageProfile2"
4 Compare the two image profiles by using the Compare-EsxImageProfile cmdlet or the -eq
comparison operator, which returns a Boolean value.
n Compare the two image profiles to get a full description of the differences by using the
Compare-EsxImageProfile cmdlet.
Compare-EsxImageProfile -ReferenceProfile
$imageProfile1 -ComparisonProfile $imageProfile2
n Compare the two image profiles by VIB list and acceptance level using the -eq comparison
operator.
if ($imageProfile1 -eq $imageProfile2) {
Write-host "Successfully verified that both image profiles are equal."
} else {
Write-host "Failed to verify that the image profiles are equal."
}
n Compare the two image profiles by a specific property using the -eq comparison operator.
if ($imageProfile1.vendor -eq $imageProfile2.vendor) {
Write-host "Successfully verified that both image profiles are equal."
} else {
Write-host "Failed to verify that the image profiles are equal."
}
Move an Image Profile to a Different Software Depot
You can move image profiles between custom depots by using the vSphere Client. After you
relocate an image profile, you can modify it without affecting the source depot's configuration.
Prerequisites
n Verify that the vSphere ESXi Image Builder service is enabled and running. See Configure the
vSphere ESXi Image Builder.
n Add or import a software depot to the vSphere ESXi Image Builder inventory. See Add a
Software Depot and Import a Software Depot.
VMware ESXi Installation and Setup
VMware, Inc. 61