How to View an Address Rewrite Entry
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, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
This topic explains how to use the Exchange Management Shell to view an existing address rewrite entry on a computer that has the Edge Transport server role installed.
In Exchange Server 2007, the Address Rewriting agent lets you modify the addresses of senders and recipients on messages that enter and leave an Exchange Server 2007 organization.
You can use address rewriting to present a consistent appearance to external recipients of messages from your Exchange Server 2007 organization. You configure Address Rewriting agents on the Receive connector and Send connector on the Edge Transport server role.
Note
You cannot administer the Address Rewriting agent by using the Exchange Management Console. To administer the Address Rewriting agent, you must use the Exchange Management Shell. For more information about how to use the Exchange Management Shell, see Using the Exchange Management Shell.
For more information about address rewriting, see Planning for Address Rewriting.
Before You Begin
To perform the following procedures 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.
Viewing a Summary List of All Address Rewrite Entries
In the Exchange Management Shell, you can view a summary list of all address rewrite entries that are configured on the local Edge Transport server role by using the following command syntax:
Get-AddressRewriteEntry
To use the Exchange Management Shell to view a summary list of all address rewrite entries
Run the following command:
Get-AddressRewriteEntry
Viewing the Detailed Configuration of a Single Address Rewrite Entry
To view the detailed configuration of an address rewrite entry, you must pipe the output of the Get-AddressRewriteEntry command to the Format-List command by using the following command syntax:
Get-AddressRewriteEntry <GUID or address rewrite entry name> | Format-List
For more information about pipelining, see Pipelining.
For more information about how to work with the information that is returned by a command, see Working with Command Output.
To use the Exchange Management Shell to view the detailed configuration of a single address rewrite entry
Run the following command:
Get-AddressRewriteEntry "Rewrite Contoso.com to Northwindtraders.com" | Format-List
For More Information
For detailed syntax and parameter information, see Get-AddressRewriteEntry.
For more information about address rewriting, see the following topics: