[This topic is in progress.]

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2011-05-03

Use the Get-AddressRewriteEntry cmdlet to view an existing address rewrite entry that rewrites sender and recipient e-mail addresses in e-mail messages sent to or from an e-mail organization.

Syntax

get-addressrewriteentry [-Identity <AddressRewriteEntryIdParameter>] [-DomainController <Fqdn>]

Detailed Description

With Microsoft Exchange Server 2010 address rewriting, you can modify the addresses of senders and recipients on messages that enter and leave an Exchange organization. You configure Address Rewriting agents on the Receive connector or Send connector on a computer that has the Edge Transport server role installed.

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 "Address rewriting agent" entry in the Transport Permissions topic.

Parameters

Parameter Required Type Description

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. The DomainController parameter isn't supported on the Edge Transport server role. The Edge Transport server role reads only from the Active Directory Lightweight Directory Services (AD LDS) instance.

Identity

Optional

Microsoft.Exchange.Management.MessagingPolicies.AddressRewrite.AddressRewriteEntryIdParameter

The Identity parameter specifies the address rewrite entry to be retrieved. The Identity parameter accepts a GUID or the unique address rewrite name. You can omit the Identity parameter label.

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.

Examples

EXAMPLE 1

This example shows how to view a summary listing of all address rewrite entries.

Copy Code
Get-AddressRewriteEntry 

EXAMPLE 2

This example shows how to view the detailed configuration of a single address rewrite entry by piping the results of the Get-AddressRewriteEntry command to the Format-List command.

Copy Code
Get-AddressRewriteEntry "Address rewrite entry for contoso.com" | Format-List