Syntax
Set-ESXImageProfileAssociation [-ImageProfile] <ImageProfile> [-Entities] <VIObjectCore[]> [<CommonParameters>]Related Commands
Get-ESXImageProfileDetailed Description
Associates the specified image profile with the specified ESXi system. Currently, the Entities parameter can point only to ESXi hosts.Parameters
Return Type
Notes
Examples
-------------- Example 1 --------------
C:\PS> Set-ESXImageProfileAssociation "MyImage" "h1","h2"
Associate the "MyImage" image profile with the hosts named "h1" and "h2".
-------------- Example 2 --------------
C:\PS> $img = Get-ESXImageProfile -Name "MyImage" C:\PS> Set-ESXImageProfileAssociation $img (Get-VMHost "h1")
Associate an image profile with the host named "h1" using PowerCLI objects.