6.7

Table Of Contents
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
3 Export the image profile.
Export-EsxImageProfile -ImageProfile "myprofile" -ExportToBundle -FilePath C:\my_bundle.zip
What to do next
Use the ISO image in an ESXi installation or upload the ISO image into vSphereUpdate Manager to
perform upgrades.
Use the ZIP file to upgrade an ESXi installation.
n
Import the ZIP file into vSphere Update Manager for use with patch baselines.
n
Download the ZIP file to an ESXi host or a datastore and run esxcli software vib commands to
import the VIBs in the ZIP file.
See the vSphere Upgrade documentation.
Preserve Image Profiles Across Sessions
When you create an image profile and exit the PowerCLI session, the image profile is no longer available
when you start a new session. You can export the image profile to a ZIP file software depot, and add that
depot in the next session.
Prerequisites
Install the PowerCLI and all prerequisite software. See Install vSphere ESXi Image Builder and
Prerequisite Software.
Procedure
1 In a PowerCLI session, create an image profile, for example by cloning an existing image profile and
adding a VIB.
2 Export the image profile to a ZIP file by calling Export-EsxImageProfile with the ExportToBundle
parameter.
Export-EsxImageProfile -ImageProfile "my_profile" -ExportToBundle -FilePath
"C:\isos\temp-base-plus-vib25.zip"
3 Exit the PowerCLI session.
VMware ESXi Installation and Setup
VMware, Inc. 56