How to View the Members of an E-Mail Address Policy by Using the Exchange Management Shell

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 the members of an e-mail address policy.

In Microsoft Exchange Server 2007, you can view the members of an e-mail address policy by using the Edit E-Mail Address Policy wizard or New E-Mail Address Policy wizard in the Exchange Management Console. However, if you used the Exchange Management Shell to create the policy, you cannot use the Exchange Management Console to view the members. Instead, you must use the Get-Recipient cmdlet in the Exchange Management Shell. For more information about how to use the Exchange Management Console to view the members of an e-mail address policy, see How to Edit an E-Mail Address Policy.

Before You Begin

To perform this procedure, the account you use must be delegated the following:

  • Exchange View-Only Administrator role

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

Procedure

To use the Exchange Management Shell to view the members of an e-mail address policy

  1. To find the GUID of an e-mail address policy named Tokyo Division, run the following command:

    Get-EmailAddressPolicy -Identity "Tokyo Division" | fl GUID
    
  2. To view the members of an e-mail address policy by using the GUID of the e-mail address policy named Tokyo Division, run the following command:

    Get-Recipient -Filter {PoliciesIncluded -like '{82025f12-8000-4d5e-8059-c052f9355125}*'}
    

For detailed syntax and parameter information, see Get-Recipient.

For More Information

To learn more about e-mail address policies, see Understanding E-Mail Address Policies.

For more information about managing e-mail address policies, see Managing E-Mail Address Policies.

To learn more about how to use filters in recipient commands, see Creating Filters in Recipient Commands.

To learn more about the syntax to use with Exchange Management Shell commands, see Syntax.