Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2012-05-24

Use the Get-AcceptedDomain cmdlet to view the configuration information for the accepted domains in your organization.

Syntax

Get-AcceptedDomain [-Identity <AcceptedDomainIdParameter>] [-AccountPartition <AccountPartitionIdParameter>] [-DomainController <Fqdn>] [-Filter <String>] [-Organization <OrganizationIdParameter>] [-UsnForReconciliationSearch <Int64>]

Examples

EXAMPLE 1

This example lists all the accepted domains in your organization.

Copy Code
Get-AcceptedDomain

EXAMPLE 2

This example lists all the authoritative accepted domains in your organization.

Copy Code
Get-AcceptedDomain | Where{$_.DomainType -eq 'Authoritative'}

Detailed Description

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Accepted domains" entry in the Mail Flow Permissions topic.

Parameters

Parameter Required Type Description

AccountPartition

Optional

Microsoft.Exchange.Configuration.Tasks.AccountPartitionIdParameter

This parameter is reserved for internal Microsoft use.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Filter

Optional

System.String

The Filter parameter specifies a set of attributes used to filter the list of accepted domains.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.AcceptedDomainIdParameter

The Identity parameter specifies a string value for the accepted domain. Enter either the GUID or the name of the accepted domain.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

UsnForReconciliationSearch

Optional

System.Int64

This parameter is reserved for internal Microsoft use.

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.