Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-02-13
This topic explains how to use the Exchange Management Console or the Exchange Management Shell to provision recipients for offline address book (OAB) downloads.
If you use multiple OABs in your organization, you must determine which users download which OABs. There are three ways to specify which recipients download which OABs:
- Per-Mailbox Database By using the
Exchange Management Console or the Exchange Management
Shell, you can specify the public folder database and the OAB that
recipients download by linking the OAB to the mailbox database. For
more information about mailbox databases, see Managing Storage Groups
and Databases.
- Per-Recipient By using the
Set-Mailbox cmdlet in the Exchange Management Shell,
you can specify which OAB recipients will download by linking
the OAB to the recipient's mailbox. You cannot specify the public
folder database at the per-recipient level. For more information
about how to create a mailbox, see How to Create a Mailbox
for a New User.
Note: You cannot use the Exchange Management Console for this task. You must use the Set-Mailbox cmdlet in the Exchange Management Shell. - Per Multiple Recipients By using a
pipelined command in the Exchange Management Shell, you can
specify multiple OAB recipients to download a specific OAB based on
common attributes.
Before You Begin
To specify the mailbox database as the method for provisioning recipients for OAB downloads, the account you use must be delegated the following:
- Exchange Organization Administrator Administrator role
To use the Set-Mailbox cmdlet to specify which OAB recipients will download by linking the OAB to the recipient's mailbox, the account you use must be delegated the following:
- Exchange Recipient Administrator role
For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
Procedure
To use the Exchange Management Console to specify the public folder database and the OAB that recipients download by linking the OAB to the mailbox database
-
Start the Exchange Management Console.
-
In the console tree, expand Server Configuration, and then click Mailbox.
-
In the result pane, select the server that contains the mailbox database you want.
-
In the work pane, expand the storage group that contains the mailbox database, and then click the database name.
-
In the action pane, click Properties.
-
In <Mailbox Database Name> Properties, click the Client Settings tab, and then use the following boxes to select the default public folder database or OAB for the mailbox database:
- Default public folder database This box
displays the location of the default public folder database. The
public folder database stores public folder data, and OAB and
free/busy information for
Microsoft Office Outlook 2003 and earlier
versions. To change the location of the default public folder
database, click Browse.
- Offline address book This box displays
the location of the OAB that this database will use as the default
OAB for Office Outlook 2007. To change the OAB, click
Browse.
- Default public folder database This box
displays the location of the default public folder database. The
public folder database stores public folder data, and OAB and
free/busy information for
Microsoft Office Outlook 2003 and earlier
versions. To change the location of the default public folder
database, click Browse.
-
Click Apply to save your changes without closing, or click OK to save your changes and close <Mailbox Database Name> Properties.
To use the Exchange Management Shell to specify the public folder database and the OAB that recipients download by linking the OAB to the mailbox database
-
Run the following command:
Copy Code Set-MailboxDatabase -Identity <DatabaseIdParameter> -OfflineAddressBook <OfflineAddressBookIdParameter> -PublicFolderDatabase <DatabaseIdParameter>
For example, to set up the Web-based distribution of an OAB named My OAB for the default mailbox database, run the following command:
Copy Code Set-MailboxDatabase -Identity "Mailbox Database" -OfflineAddressBook "My OAB"
To use the Exchange Management Shell to specify which OAB recipients will download by linking the OAB to the recipient's mailbox
-
Run the following command:
Copy Code Set-Mailbox -Identity <MailboxIDParameter> -OfflineAddressBook <OfflineAddressBookIdParameter>
Note: The Identity parameter identifies the mailbox and can take the following values: GUID, ADObjectID, distinguished name (DN), domain\account, user principal name (UPN), LegacyExchangeDN, SmtpAddress, and alias. For example, to specify My OAB as the OAB for a user by using the user's alias Kim, run the following command:
Copy Code Set-Mailbox -Identity Kim -OfflineAddressBook "My OAB"
To use the Exchange Management Shell to use a recipient filter to specify the offline address book for multiple recipients
-
Run the following command:
Copy Code Get-User -Filter <String> | Set-Mailbox -OfflineAddressBook <OfflineAddressBookIdParameter>
For example, to specify the OAB for all of the user mailboxes in the United States for the Contoso company, run the following command:
Copy Code Get-User -ResultSize Unlimited -Filter { Company -eq "Contoso" -and RecipientType -eq "UserMailbox" } | Where { $_.CountryOrRegion -eq "United States"} | Set-Mailbox -OfflineAddressBook "Contoso United States"
Note: For more information about using filters to limit the scope of a command, see Creating Filters in Recipient Commands.
For detailed syntax and parameter information, see the Set-Mailbox reference topic.
For More Information
To learn more about OABs, see Understanding Offline Address Books.
For more information about managing OABs, see Managing Offline Address Books.