Quickly set an offline address book for all Mailbox Databases

Save the following script to a file to your Exchange Server then execut using the Exchange Management Shell – and then follow the prompts.

Remember this script will set the OAB for all Mailbox Databases.

$OABs = Get-OfflineAddressBook
$Count = 0
Foreach($Oab in $OABs){
 Write-Host $Count "." $Oab.Name
 $Count++
}
$Choice = Read-Host "Please choose"
Get-MailboxDatabase | Set-MailboxDatabase -OfflineAddressBook $Oabs[$Choice]

Leave a Comment

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top