Transition from Exchange 2003 to 2007: Upgrading Address Lists

Part of the transition/migration process to Exchange Server 2007 (probably one of the last steps) is to upgrade the default Address Lists, since OPATH filtering syntax replaces the LDAP filtering syntax. Here are the necessary PowerShell commands:

All Users
Set-AddressList "All Users" -IncludedRecipients MailboxUsers

All Groups:
Set-AddressList "All Groups" -IncludedRecipients MailGroups

All Contacts:
Set-AddressList "All Contacts" -IncludedRecipients MailContacts

Public Folders:
Set-AddressList "PublicFolders" -RecipientFilter { RecipientType -eq 'PublicFolder' }

Default Global Address List:
Set-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

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

Scroll to Top