Export (0) Print
Expand All
1 out of 2 rated this helpful - Rate this topic

How to View the Members of an Address List by Using the Exchange Management Shell

 

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

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.

To ensure that you are reading the most up-to-date information and to find additional Exchange Server 2007 documentation, visit the Exchange Server TechCenter.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.