Share via


Get-RemoteDomain

 

Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Use the Get-RemoteDomain cmdlet to view the configuration information for the remote domains that are configured in your organization. You can view the remote 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 the remote domain, see Set-RemoteDomain.

Syntax

Get-RemoteDomain [-Identity <RemoteDomainIdParameter>] [-DomainController <Fqdn>]

Detailed Description

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

  • Exchange View-Only Administrator role

To run the Get-RemoteDomain 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-RemoteDomain cmdlet without parameters returns configuration information for all remote domains that are configured in the Active Directory forest.

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.RemoteDomainIdParameter

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

Example

The following code samples show two Get-RemoteDomain examples.

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

The second command returns the configuration for a remote domain called Example.

Get-RemoteDomain
Get-RemoteDomain -Identity Example