6.5.1

Table Of Contents
Compare Image Profiles
You can compare two image profiles by using the Compare-EsxImageProfile cmdlet, for example, to
see if they have the same VIB list or acceptance level . Comparing image profiles or their properties is
also possible by using the PowerShell comparison operators.
Prerequisites
Install the PowerCLI and all prerequisite software. See Install vSphere ESXi Image Builder and
Prerequisite Software.
Procedure
1 In a PowerCLI session, run the Add-EsxSoftwareDepot cmdlet for each depot you want to work
with.
Option Action
Remote depot Run Add-EsxSoftwareDepot -DepotUrl depot_url.
ZIP file a Download the ZIP file to a local file system.
b Run Add-EsxSoftwareDepot -DepotUrl C:\file_path\offline-
bundle.zip
The cmdlet returns one or more SoftwareDepot objects.
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"
vSphere Installation and Setup
VMware, Inc. 68