Get-O365DnsRecord

Gets all DNS records that require configuration at your domain name provider.

Syntax

Get-O365DnsRecord
   [-DomainName] <String>
   [<CommonParameters>]

Description

The Get-O365DnsRecord cmdlet gets all Domain Name System (DNS) records that require configuration at your domain provider so that you can complete the domain configuration for office_365_1.

Examples

Example 1: Get DNS records for a domain name provider

PS C:\> Get-O365DnsRecord -DomainName "Contoso.onmicrosoft.com"

This command gets all DNS records that require configuration at the domain name provider named Contoso.onmicrosoft.com.

1:

PS C:\>

Parameters

-DomainName

Specifies the name of a domain name provider. The cmdlet gets the DNS records that require configuration at the domain name provider that you specify.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

DomainName Type: System.String Description: name of the domain name provider

Outputs

Microsoft.WindowsServerSolutions.RemoteAccess.Domains.DnsRecord

This cmdlet returns a class that represents the DNS record. When output: office_365_2 integration is enabled Label Property System.String Length Property System.Int32