Edit

Share via


Get-AzureADUserRegisteredDevice

Get devices registered by a user.

Syntax

Default (Default)

Get-AzureADUserRegisteredDevice
    -ObjectId <String>
    [-All <Boolean>]
    [-Top <Int32>]
    [<CommonParameters>]

Description

The Get-AzureADUserRegisteredDevice cmdlet gets devices registered by a user in Azure Active Directory (AD).

Examples

Example 1: Get registered devices

PS C:\>Get-AzureADUserRegisteredDevice -ObjectId  "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

This command gets the devices that are registered to the specified user.

Parameters

-All

If true, return all devices for this user

Parameter properties

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

Parameter sets

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

-ObjectId

Specifies the ID of a user (as a UPN or ObjectId) in Azure AD.

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

-Top

Specifies The maximum number of records to return.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
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 Get-AzureADUserRegisteredDevice to the Microsoft Graph PowerShell.