Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2011-03-19
This topic explains how to use the Exchange Management Shell to view the members of an address list.
You can view the members of an address list by using the Edit Address List wizard or the New Address List wizard in the Exchange Management Console (EMC). However, if you used the Shell to create the address list, you can't use the EMC to view the members of the list. Instead, you must use the Get-Recipient cmdlet in the Shell. For more information about how to view the members of an address list by using the EMC, see Configure Address List Properties.
Looking for other management tasks related to address lists? Check out Managing Address Lists.
Use the Shell to view the members of an address list
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Address lists" entry in the Mailbox Permissions topic.
Note: |
---|
You can't use the EMC to view the members of an address list that was created using the Shell. |
This example finds the distinguished name (DN) of an address list named Humongous Insurance.
Copy Code | |
---|---|
Get-AddressList -Identity "Humongous Insurance" | fl DistinguishedName |
This example lists the members of the Humongous Insurance address list by using the DN.
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 detailed syntax and parameter information, see Get-AddressList and Get-Recipient.