Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-06-28

Use the Get-AcceptedDomain cmdlet to view the configuration information for the accepted domains that are configured in your organization. You can view the accepted domain configuration from inside the Exchange organization or from a computer that has the Edge Transport server role installed in a Microsoft Exchange Server 2007 organization. For more information about how to configure an accepted domain, see Set-AcceptedDomain.

Syntax

Get-AcceptedDomain [-Identity <AcceptedDomainIdParameter>] [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that retrieves this configuration information from the Active Directory directory service, include the DomainController parameter on the command. The DomainController parameter is not supported on computers that have the Edge Transport server role installed. The Edge Transport server role writes and reads only to the local Active Directory Application Mode (ADAM) instance.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.AcceptedDomainIdParameter

Use this parameter to specify a string value for the accepted domain. Enter either the GUID or the Name of the remote domain.

Detailed Description

To run the Get-AcceptedDomain cmdlet, the account you use must be delegated the following:

  • Exchange View-Only Administrators role

To run the Get-AcceptedDomain cmdlet on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Running the Get-AcceptedDomain cmdlet without parameters returns configuration information for all accepted domains that are configured in the Active Directory forest.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The following code samples show two Get-AcceptedDomain examples.

The first command returns all accepted domains that are configured in the Active Directory forest in which you run the command.

The second command returns the configuration for an accepted domain that is named Example.

Copy Code
Get-AcceptedDomain
Get-AcceptedDomain -Identity Example