7.0

Table Of Contents
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
Example: Creating Image Profile by Cloning Using Variables
This workflow example repeats the steps of this workflow by passing in parameters as objects
accessed by position in a variable, instead of passing in parameters by name. You can run the
following cmdlets in sequence from the PowerCLI prompt.
$DefaultSoftwareDepots
Add-EsxSoftwareDepot -DepotUrl depot_url
$DefaultSoftwareDepots
$profs = Get-EsxImageProfile
$profs
$ip = New-EsxImageProfile -CloneProfile $profs[2] -Name "new_profile_name" -Vendor "my_vendor"
$ip
Create New Image Profiles Workflow
In most situations, you create an image profile by cloning an existing profile. Some VMware
customers or partners might need to create a new image profile. Pay careful attention to
dependencies and acceptance levels if you create an image profile from scratch.
The system expects that the acceptance level of the VIBs you add to the base image is at least as
high as the level of the base image. If you have to add a VIB with a lower acceptance level to the
image profile, you must lower the image profile acceptance level. For more information, see Set
the Image Profile Acceptance Level.
As an alternative to specifying the parameters on the command line, you can use the
PowerShell prompting mechanism to specify string parameters. Prompting does not work for
other parameters such as objects.
Prerequisites
n PowerCLI and prerequisite software is installed. See Install vSphere ESXi Image Builder and
Prerequisite Software.
n You have access to a depot that includes a base image and one or more VIBs. VMware and
VMware partners have public depots, accessible by a URL. VMware or VMware partners can
create a ZIP file that you can unzip to your local environment and access by using a file path.
VMware ESXi Installation and Setup
VMware, Inc. 71