Welcome to Dirteam.com/ActiveDir.org Blogs Sign in | Join | Help

Matt Johnson's Technical Adventures

One server at a time.
Exchange 2007 Command Fun: Update-OfflineAddressBook

Everyone that manages email has most likely run into the following problem once before.

Someone has requested that you create a group so everyone can email them for a specific project that they are working on. You create the group and say “You’re all set”. They go to select the new group from the address list and the group isn’t there. Duh, you forgot to update the offline address list.

There are two ways you can do this, one is using the MMC and the other is using PowerShell. Now I have made it my goal to completely manage Exchange 2007 from the command line. I used to do everything else from the command line, but I was still going to the MMC to update the Offline Address Lists. So today I got sick of waiting for the MMC, so I looked up the cmdlet and found out it was quite simple.

The command that you want is Update-OfflineAddressBook. Now how simple is that. Here are some usage examples:

Update-OfflineAddressBook –Identity “Default Offline Address Book”
or
Update-OfflineAddressBook –Identity “California Address Book” –DomainController “ca.testing.com”

Links:

Posted: Wednesday, June 11, 2008 2:01 PM by win2kmaster
Filed under:

Comments

No Comments

Anonymous comments are disabled