Get-AcceptedDomain (RTM)

Exchange 2007

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.


Applies to: Exchange Server 2007

Topic Last Modified: 2015-03-09

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 (RTM).

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

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.


Parameter Required Type Description




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.




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


Error Description




Exceptions Description



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.

Get-AcceptedDomain -Identity Example