Get-O365DnsRecord
Get-O365DnsRecord
Gets all DNS records that require configuration at your domain name provider.
Syntax
Parameter Set: Default
Get-O365DnsRecord [-DomainName] <String> [ <CommonParameters>]
Detailed 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 .
Parameters
-DomainName<String>
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.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
DomainName
Type: System.String
Description: name of the domain name provider
Outputs
The output type is the type of the objects that the cmdlet emits.
Microsoft.WindowsServerSolutions.RemoteAccess.Domains.DnsRecord
This cmdlet returns a class that represents the DNS record.
When output: integration is enabled
Label Property System.String
Length Property System.Int32
Examples
Example 1: Get DNS records for a domain name provider
This command gets all DNS records that require configuration at the domain name provider named Contoso.onmicrosoft.com.
PS C:\> Get-O365DnsRecord -DomainName "Contoso.onmicrosoft.com"
PS C:\>