Edit

Share via


Get-AzureADDomainNameReference

This cmdlet retrieves the objects that are referenced by a given domain name

Syntax

Default (Default)

Get-AzureADDomainNameReference
    -Name <String>
    [<CommonParameters>]

Description

This cmdlet retrieves the objects that are referenced by a given domain name

Examples

Example 1

PS C:\WINDOWS\system32> Get-AzureADDomainNameReference -Name drumkit.onmicrosoft.com

This example shows how to retrieve the domain name reference objects for a domain that is specified through the -Name parameter

Parameters

-Name

The name of the domain name for which the referenced objects are retrieved

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.

Inputs

String

Outputs

Object

Notes

See the migration guide for Get-AzureADDomainNameReference to the Microsoft Graph PowerShell.