6.5.1

Table Of Contents
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 Run Export-EsxImageProfile to export the image profile.
Export Format Cmdlet
ISO images Export-EsxImageProfile with the -ExportToIso parameter
Offline depot ZIP files Export-EsxImageProfile with the -ExportToBundle parameter
For the ISO image, vSphere ESXi Image Builder validates VIB signatures, adds VIB binaries to the
image, and downloads the image to the specified location. For the ZIP file, vSphere ESXi Image Builder
validates VIB signatures and downloads the VIB binaries to the specified location.
Example: Exporting an Image Profile
Follow these steps to export an image profile to an ISO image.
1 Add the software depot.
Add-EsxSoftwareDepot -DepotUrl url_or_file
2 View all available image profiles to find the name of the image profile to export.
Get-EsxImageProfile
3 Export the image profile.
Export-EsxImageProfile -ImageProfile "myprofile" -ExportToIso -FilePath iso_name
Follow these steps to export an image profile to a ZIP file of component files and folders.
1 Add the software depot.
Add-EsxSoftwareDepot -DepotUrl url_or_file
2 View all available image profiles to find the name of the image profile to export.
Get-EsxImageProfile
vSphere Installation and Setup
VMware, Inc. 66