How to View the Members of an Address List 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

Topic Last Modified: 2007-04-22

This topic explains how to use the Exchange Management Shell to view the members of an address list.

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

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.

  1. To find the distinguished name (DN) of an address list named Humongous Insurance, run the following command:

    Get-AddressList -Identity "Humongous Insurance" | fl DistinguishedName
  2. To view the members of the Humongous Insurance address list by using the DN, run the following command:

    Get-Recipient -Filter {AddressListMembership -eq 'CN=Humongous Insurance,CN=All Address Lists,CN=Address Lists Container,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=QWCTAC-dom,DC=extest,DC=CONTOSO,DC=com'}

To learn more about address lists, see Understanding Address Lists.

For more information about managing address lists, see Managing Address Lists.

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.