Edit

Share via


Add-AzureADDeviceRegisteredOwner

Adds a registered owner for a device.

Syntax

Default (Default)

Add-AzureADDeviceRegisteredOwner
    -ObjectId <String>
    -RefObjectId <String>
    [<CommonParameters>]

Description

The Add-AzureADDeviceRegisteredOwner cmdlet adds a registered owner for an Azure Active Directory device.

Examples

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

Parameters

-ObjectId

Specifies the object ID.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-RefObjectId

Specifies the ID of the Active Directory object to add.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Notes

See the migration guide for Add-AzureADDeviceRegisteredOwner to the Microsoft Graph PowerShell.