< Back

Test-AzureADEnterpriseRegistrationRecord

Sat Jan 18, 2020 5:36 pm

NAME Test-AzureADEnterpriseRegistrationRecord



SYNOPSIS

Verifies that a domain's Azure AD enterprise registration DNS record is correct.





SYNTAX

Test-AzureADEnterpriseRegistrationRecord [-DomainName] <String[]> [<CommonParameters>]





DESCRIPTION

This cmdlet checks one or more domains for the presence and correctness of the Azure Active Directory enterprise

registration DNS record, named enterpriseregistration. It should be a CNAME pointing to

enterpriseregistration.windows.net.





PARAMETERS

-DomainName <String[]>

One or more domain names to check.



Required? true

Position? 0

Default value

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String[]

One or more domain names to check. This cmdlet accepts pipeline input as well.





OUTPUTS



EXAMPLE 1



Parameter ExampleC:\\PS> Test-AzureADEnterpriseRegistrationRecord contoso.com



Verifies that the DNS CNAME record enterpriseregistration.contoso.com is correct.

EXAMPLE 2



Pipeline ExampleC:\\PS> "contoso.com","fabrikam.com","tailspintoys.com" | Test-AzureADEnterpriseRegistrationRecord



Verifies that the DNS CNAME records enterpriseregistration.contoso.com, enterpriseregistration.fabrikam.com, and

enterpriseregistration.tailspintoys.com are correct.



RELATED LINKS

Test-AzureADJoinRecords

Test-Office365DnsRecords

about_Office365DnsChecker