< Back

Test-AzureADEnterpriseEnrollmentRecord

Sat Jan 18, 2020 5:36 pm

NAME Test-AzureADEnterpriseEnrollmentRecord



SYNOPSIS

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





SYNTAX

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





DESCRIPTION

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

enrollment DNS record, named enterpriseenrollment. It should be a CNAME pointing to

enterpriseenrollment.manage.microsoft.com.





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[]







OUTPUTS



EXAMPLE 1



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



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

EXAMPLE 2



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



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

enterpriseenrollment.tailspintoys.com are correct.



RELATED LINKS

Test-AzureADJoinRecords

Test-Office365DnsRecords

about_Office365DnsChecker