Set-EsxImageProfile is used to modify a user-created image profile. The cmdlet returns the modified ImageProfile object, which can be piped into any other cmdlet taking image profiles as input. For details on persistence, see New-EsxImageProfile.If the ReadOnly property of the image profile is true, you cannot modify the image profile.Image Builder performs all image profile validation tests on the modified image profile.The Name and Vendor of the modified image profile must be unique. If you attempt to change the Name and Vendor, and the new Name and Vendor are the same as an existing Name and Vendor, an error result.
||(pipeline input, prompt) Specifies the image profile to edit.Takes one of the following forms:*Name of an image profile, as displayed in the Name column of Get-EsxImageProfile, or the Name property of any ImageProfile object*ImageProfile object||optional||
||Optional. Specifies the minimum acceptance level allowed for VIBs in the image profile, one of the following:*VMwareCertified*VMwareAccepted*PartnerSupported*CommunitySupportedIf the acceptance level is raised above the lowest acceptance level of any VIB in the profile, an error results.||optional||
||Optional. Long string describing the contents or purpose of the image profile.||optional||
||Installs packages that break extensibility rules such as standard file path. Also bypasses dependency checks on packages. Use this option with care. Because it bypasses standard validation checks, an invalid image profile might result.||optional||
||String value to replace the current Name field with.||optional||
||Optional. Makes the image profile read only. (not modifiable).||optional||
(pipeline input) One or more VIB software packages that the image profile should contain. Replaces the list of VIBs in the image profile.The value takes one of the following forms:*Name of a VIB, as displayed in the Name column of Get-EsxSoftwarePackage, or the Name property of any SoftwarePackage object. The cmdlet selects the highest available version of the named package.*"
||String value to replace the current Vendor field with.|
Modify the VIB list of an existing image profile
Change the acceptance level (maybe so that some VIB with a lower acceptance level can be added) of the third image profile from a list (index starts at 0):
Using pipelining to mark the user-created profile as read-only