Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2012-10-14

You can use the Shell to add or remove an address list from an offline address book (OAB). By default, there is an OAB named the Default Offline Address Book that contains the global address list (GAL). OABs are generated based on the address lists that they contain. To create custom OABs that users can download, you can add or remove address lists from OABs.

For additional management tasks related to OABs, see Offline Address Book Procedures.

What do you need to know before you begin?

  • Estimated time to complete each procedure: 5 minutes

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Offline address books" entry in the Recipients Permissions topic.

  • Changes to the address list aren't available for client download until after the OAB in which the address list resides has been generated. For more information, see Update an Offline Address Book.

  • You can’t use the Exchange Administration Center (EAC) to perform this procedure. You must use the Shell.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.

Tip:
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection

What do you want to do?

Use the Shell to add an address list to an OAB

When using the AddressLists parameter, any address lists that currently exist will be overwritten. You must include existing address lists when you use the AddressLists parameter to continue to generate those address lists in your OAB. This example, in which you have AddressList1 and AddressList2, adds AddressList3.

Copy Code
Set-OfflineAddressBook -Identity "My OAB" -AddressLists AddressList1,AddressList2,AddressList3

For detailed syntax and parameter information, see Set-OfflineAddressBook.

Use the Shell to remove an address list from an OAB

To remove an address list from an OAB, simply omit that address list from the list of address lists. This example, in which you have AddressList1, AddressList2, and AddressList3, removes AddressList3.

Copy Code
Set-OfflineAddressBook -Identity "My OAB" -AddressLists AddressList1,AddressList2

For detailed syntax and parameter information, see Set-OfflineAddressBook.