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.
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 address list
-
To find the distinguished name (DN) of an address list named Humongous Insurance, run the following command:
Copy Code Get-AddressList -Identity "Humongous Insurance" | fl DistinguishedName
-
To view the members of the Humongous Insurance address list by using the DN, run the following command:
Copy Code 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'}
For More Information
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.