In my previous post I write about updating the GAL and OAB in Exchange.
But what if you want to change the default update schedule?
There’s a PowerShell command for that…
get-offlineaddressbook | set-offlineaddressbook -schedule “Sun.5:00 AM-Sun.6:00 AM, Sun.10:00 AM-Sun.11:00 AM, Sun.3:00 PM-Sun.4:00 PM, Sun.8:00 PM-Sun.9:00 PM,` Mon.5:00 AM-Mon.6:00 AM, Mon.10:00 AM-Mon.11:00 AM, Mon.3:00 PM-Mon.4:00 PM, Mon.8:00 PM-Mon.9:00 PM, ` Tue.5:00 AM-Tue.6:00 AM, Tue.10:00 AM-Tue.11:00 AM, Tue.3:00 PM-Tue.4:00 PM, Tue.8:00 PM-Tue.9:00 PM, ` Wed.5:00 AM-Wed.6:00 AM, Wed.10:00 AM-Wed.11:00 AM, Wed.3:00 PM-Wed.4:00 PM, Wed.8:00 PM-Wed.9:00 PM”
This script will change the update schedule from once a day to 4 times a day.
Note that this may cause performance issues on you Exchange server and/or clients so use it wisely or change it to your liking
—- UPDATE —
I received feedback about this post from @JetzeMellema.
Warning taken from TechNet: “Frequent updating is generally not recommended because frequent updating may affect client and server performance”.
Please read the TechNet article before changing the GAL update schedule!!!
This morning I was asked to update the Global Address List and Offline Address Book in an Exchange environment.
You could wait for Exchange to do it automatically (the default schedule is once a day) but what when you want to force the update to take place right now?
Well… again here comes PowerShell to the rescue:
Get-GlobalAddressList | Update-GlobalAddressList
So now that the GAL is updated there could be some users that are using a Offline Address Book (OAB).
So, what is the PowerShell command to update this?
Get-OfflineAddressBook | Update-OfflineAddressBook
And last… when you update the OAB you’ll also need to update let the Client Access Server know that there is an updated OAB.
Also this you can accomplish through PowerShell:
Get-ClientAccessServer | Update-FileDistributionService