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