< Back

Test-ExchangeOnlineAutodiscoverRecord

Sat Jan 18, 2020 5:37 pm

NAME Test-ExchangeOnlineAutodiscoverRecord



SYNOPSIS

Verifies that a domain's Outlook Autodiscover DNS record is correct.





SYNTAX

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





DESCRIPTION

This cmdlet checks one or more domains for the presence and correctness of the Outlook Autodiscover DNS record,

named autodiscover. It should be a CNAME pointing to autodiscover.outlook.com.



This cmdlet will also verify that no Autodiscover DNS SRV records exist, as those are not compatible with Exchange

Online.





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-ExchangeOnlineAutodiscoverRecord contoso.com



Verifies that the DNS CNAME record autodiscover.contoso.com is correct, and that records for

_autodiscover._tcp.contoso.com do not exist.

EXAMPLE 2



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



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

autodiscover.tailspintoys.com are correct; and that records for _autodiscover._tcp.contoso.com,

_autodiscover._tcp.fabrikam.com, and _autodiscover._tcp.tailspintoys.com do not exist.



RELATED LINKS

Test-ExchangeOnlineRecords

Test-Office365DnsRecords

about_Office365DnsChecker