6.5.1

Table Of Contents
Prerequisites
Verify that PowerCLI and prerequisite software is installed. See Install vSphere ESXi Image Builder and
Prerequisite Software.
Procedure
1 In a PowerShell window, check whether any software depots are defined for the current session.
$DefaultSoftwareDepots
PowerShell returns the currently defined depots, or nothing if you just started PowerShell.
2 If the depot containing the profile that you want to clone does not appear in the results, add it to the
current session.
Option Action
Remote depot Run Add-EsxSoftwareDepot -DepotUrl depot_url.
ZIP file a Download the ZIP file to a local file path.
b Run Add-EsxSoftwareDepot -DepotUrl C:\file_path\offline-
bundle.zip
PowerShell adds the specified depot to your current session and lists all current depots.
3 (Optional) Check the $DefaultSoftwareDepots variable, which now returns the newly added depot.
4 View all available image profiles.
Get-EsxImageProfile
5 To clone an image profile, enter its name, a new name for the new profile, and a name of the vendor.
$ip = New-EsxImageProfile -CloneProfile base-tbd-v1 -Name "Test Profile 42" -Vendor "Vendor20"
6 (Optional) View the newly created image profile, $ip.
PowerShell returns the information about the image profile in tabular format.
Name Vendor Last Modified Acceptance Level
---- ------ ------------- ----------------
Test Profile 42 Vendor20 9/15/2010 5:45:43... PartnerSupported
vSphere Installation and Setup
VMware, Inc. 77