Exporting an Image Profile as an ISO or Offline Bundle
The VMware PowerCLI session will not retain the Image Profile details upon its exit. If you need to preserve a customized profile that you created, you will have to export it as an Offline Bundle (ZIP or ISO). When you start a new VMware PowerCLI session, you could just add the Offline Bundle back to the Software Depot.
In this recipe we will learn how to export an Image Profile to an ISO or an Offline Bundle (ZIP archive).
How to do it…
The following procedures will guide you to export an Image profile to an ISO or a ZIP archive.
To export an existing Image Profile to an ISO, issue the following command:
Export-EsxImageProfile -ImageProfile "Profile001" –ExportToIso -FilePath C:\AutoDeploy-VIBS\Exported\Profile001.iso
To export an existing Image Profile to an Offline Bundle, issue the following command:
Export-EsxImageProfile -ImageProfile "Profile001" -ExportToBundle -FilePath C:\AutoDeploy-VIBS\Exported\Profile001.zip