Add-AmsDeviceRegistrationKeyGroup
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Adds an AMS group to an existing registration key
Add-AmsDeviceRegistrationKeyGroup -Id <String> -Groups <Object[]> [<CommonParameters>]
A registration key can be associated with one or more AMS groups. When a device uses this key to register, it will automatically be added to the associated groups. This cmdlet allows you to add an AMS group to an existing registration key.
PS C:\> Get-AmsDeviceRegistrationKey -Name 'my example key' | Add-AmsDeviceRegistrationKeyGroup -Groups '6efbd76f-befb-44df-9df7-80ef5660df5d'
A collection of groups to add. This can be a group ID string, or a group object obtained from the `Get-AmsGroup` cmdlet
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The ID of the registration key
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Use of this cmdlet requires an Enterprise Edition license.