Home » VMware » 2V0-621 v.2 » Which command can be used to ensure that image profiles are preserved across PowerCLI sessions?
An administrator is deploying ESXi 6.x hosts using Auto Deploy and wants the image profile to be available, even after closing and opening a new PowerCLI window.
Which command can be used to ensure that image profiles are preserved across PowerCLI sessions?
A. Set-EsxImageProfile
B. Export-EsxImageProfile
C. Save-EsxImageProfile
D. Preserve-EsxImageProfile
Correct Answer: B
Explanation/Reference:
Explanation: Detailed Description
Exports an Image Profile object as either an ESXi ISO image that can be booted up and used as an ESXi installer, or an offline depot ZIP file that contains metadata plus the VIB packages. In both cases, downloads the VIB binaries and validates the VIB signatures.
You can perform the following tasks with the offline depot ZIP file:
*Import the ZIP into VMware Update Manager for patch remediation
*Download the ZIP to an ESXi host and used with esxcli for installation
*Re-import the ZIP into ImageBuilder itself using Add-EsxSoftwareDepot You can specify either -ExportToIso or -ExportToBundle but not both.
Reference: https://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Export-EsxImageProfile.html