Address List upgrades when Exchange 2003 is upgraded to Exchange 2010

Source: Internet
Author: User
Tags filter ldap

In the Exchange 2003 era, address lists are based on LDAP statements, and after Exchange 2007, the address list syntax starts with the Opath syntax for querying. So, when we upgrade Exchange 2003 to 2010, we need to upgrade our address list, otherwise we won't be able to open it in 2010.

For the default address list, such as "All Users," "All Groups," "Default Global Address List," And so on, Microsoft directly provides the upgrade command, as follows:

Set-addresslist "All Users" –includedrecipients mailboxusers

Set-addresslist "All groups"-includedrecipients mailgroups

Set-addresslist "All Contacts"-includedrecipients mailcontacts

Set-addresslist "public Folder"-recipientfilter {recipienttype-eq ' Publicfolder '}

Set-globaladdresslist "Default Global Address List"-recipientfilter {alias-ne $null-and (objectclass-eq ' user '-or Objectclass-eq ' cont Act '-or objectclass-eq ' msexchsystemmailbox '-or objectclass-eq ' msexchdynamicdistributionlist '-or objectclass-eq ' gr OUP '-or objectclass-eq ' Publicfolder ')}

In an enterprise environment, in addition to the default address lists, there are often a number of custom address lists that need to be upgraded before they can be used. The following is a detailed description of the upgrade process for a custom address list.

1. Download LDAP to OPATH filter conversion script, address: http://gallery.technet.microsoft.com/scriptcenter/7c04b866-f83d-4b34-98ec-f944811dd48d

2. Move the downloaded script to the scripts directory under the installation directory.

3. Open EMS,CD $exscritps Navigate to Scritps directory, get-addresslist ' Dongguan branch ' | FL name,*filter,exchangeversion confirms the version of the address list. As shown in the following figure, Recipientfilter represents 2010 of the query criteria, Ldaprecipientfilter represents 2003 of the query criteria, and ExchangeVersion represents 00 as 2003.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/Mail/

4. Execute the following command to upgrade the address list, set-addresslist the Address List container path-recipientfilter (. \convertfrom-ldapfilter (get-addresslist address List container path). Ldaprecipientfilter), select Y

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.