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.


-ImageProfile  <ImageProfile>
[-AcceptanceLevel  <AcceptanceLevels>]
[-Description  <String>]
[-Name  <String>]
[-SoftwarePackage  <SoftwarePackage[]>]
[-Vendor  <String>]


Required Parameter Name Type Position Features Description
ImageProfile named
  • pipeline
  • (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
    AcceptanceLevels named 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.
    String named Optional. Long string describing the contents or purpose of the image profile.
    SwitchParameter named 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.
    String named String value to replace the current Name field with.
    SwitchParameter named Optional. Makes the image profile read only. (not modifiable).
    SoftwarePackage[] named (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.*" ", for specifying a specific version of a VIB named Name.*SoftwarePackage object*GUID of the VIB software package (from the Guid property of a SoftwarePackage)*List containing a mix of any of the aboveOne of the "esx-base" packages is required for a valid image profile.
    String named String value to replace the current Vendor field with.



    Example 1

    Set-EsxImageProfile -ImageProfile "Profile of a Fool" -SoftwarePackage esx-base,scsi-ips,esx-tboot

    Modify the VIB list of an existing image profile

    Example 2

    $myprofiles = Get-EsxImageProfile
    Set-EsxImageProfile -ImageProfile $myprofiles[2] -AcceptanceLevel PartnerSupported

    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):

    Example 3

    Get-EsxImageProfile -Name "User Created Profile" | Set-EsxImageProfile -ReadOnly

    Using pipelining to mark the user-created profile as read-only


    Was this page helpful?