Every offline bundle will have one or more predefined image profiles. An image profile defines what vSphere Installation Bundles (VIBs) should be included in an image deployed using it. For creating an Auto Deploy rule, you will need to make a decision on which of the available image profiles to use.
The following procedure will help you list all the image profiles imported from an offline bundle, and assign the list to an array variable, so that they can be easily referenced in any of the future commands executed in the current PowerCLI session:
Display all the ESXi image profiles available in the current session, by issuing the command
Get-EsxImageProfile
:Save the output of the
Get-EsxImageProfile
command to an array variable for easy subsequent reference in the session, by issuing the following command:$image_profile_array=Get-EsxImageProfile
Try viewing each of the array elements by performing an individual listing on them:
$image_profile_array...