【Abstract]
In Microsoft Exchange Server 2003 and earlier versions, the LDAP filter syntax is used to create a custom address list, a global address list (GAL), an email address policy, and a distribution group. In Exchange Server 2010 and exchangeserver 2007, The opath filtering syntax replaces the LDAP filtering syntax. After we upgrade Exchange 2003 to 2010, we need to upgrade the address list. Otherwise, it cannot be enabled in 2010.
1. Address List upgrade instructions
Exchange 2010 supports LDAP syntax filters, and the filters only exist for objects that have been migrated from Exchange 2003 or earlier versions. These LDAP filters must be upgraded to the opath syntax only when you want to edit filters from the exchange 2010 server. For example, if you have an Exchange 2003 server in your organization, you can manage LDAP syntax filters from the Exchange 2003 Server. You cannot manage or create LDAP syntax filters in exchange 2010.
2. Upgrade the default address list
For the default address list, such as "all users", "All groups", and "Default global address list", Microsoft provides the upgrade command as follows:
Set-Addresslist "allusers"-includedrecipients mailboxusers
Set-Addresslist "allgroups"-includedrecipients mailgroups
Set-Addresslist "allcontacts"-includedrecipients mailcontacts
Set-Addresslist "publicfolders"-recipientfilter {recipienttype-EQ 'publicfolder '}
Set-globaladdresslist "defaultglobal address list"-recipientfilter {(alias-ne $ null-and (objectclass-EQ 'user'-or objectclass-EQ 'Contact '-or objectclass-EQ' msexchsystemmailbox '-or objectclass-EQ 'msexchdynamicdistributionlist'-orobjectclass-EQ 'group'-or objectclass-EQ 'publicfolder '))}
3. Upgrade the custom address list
In an enterprise environment, in addition to the default address list, there are usually many custom address lists. For this part of the custom address list, we often use the reconstruction method for upgrading, which takes a lot of time and is prone to errors. The following describes how to use the LDAP to opath filter conversion script to upgrade the custom address list.
UPrerequisites
DownloadLDAP to opath FilterConversion script
Http://gallery.technet.microsoft.com/scriptcenter/7c04b866-f83d-4b34-98ec-F944811dd48d
3.1 move the LDAP to opath filter conversion script to the "scripts" directory under the exchane installation directory;
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4A/E8/wKiom1QnX8LDeSzdAAEIJN7ycoc246.jpg "Title =" image001.jpg "alt =" wkiom1qnx8ldeszdaaeijn7ycoc246.jpg "/>
3.2 use get-Addresslist
'Xxxx'| FL name, * filter, exchangeversion query to confirm the address list version; (where
Xxxx
Name of the address list)
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4A/E8/wKiom1QnX_GjoE7UAADHLRyQOHQ266.jpg "Title =" image002.jpg "alt =" wkiom1qnx_gjoe7uaadhlryqohq266.jpg "/>
Query Result description:
RecipientfilterIndicates2010,
LdaprecipientfilterIndicates2003Query conditions
ExchangeversionThe"00"IndicatesExchange 2003Version.
3.3 open the exchange console, and go to cd d: \ exch2010 \ scrips to find the scrips directory where the LDAP to opath filter conversion script is located;
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4A/E8/wKiom1QnYAKTXgGnAAAmwMc_hkA842.jpg "Title =" image003.jpg "alt =" wkiom1qnyaktxggnaaamwmc_hka842.jpg "/>
3.4 run "Set-Addresslist"
Xxxx"-Recipientfilter (. \ convertfrom-ldapfilter (get-Addresslist"
Xxxx"). Ldaprecipientfilter)" to upgrade the address list;
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4A/EA/wKioL1QnYDfhYZ4UAACS-7SiGXE694.jpg "Title =" image004.jpg "alt =" wKioL1QnYDfhYZ4UAACS-7SiGXE694.jpg "/>
Confirm modification, enter "Y", and press ENTER
3.5 execute the command Update-Addresslist"
Xxxx"Update the address list.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/4A/E8/wKiom1QnYB3z0OOgAAAutlnT9Ts183.jpg "Title =" image005.jpg "alt =" wkiom1qnyb3z0oogaaautlnt9ts183.jpg "/>
3.6 then, edit the corresponding address list in the address list.
This article is from the "Jia Wei IT Training Institute" blog, please be sure to keep this source http://canway.blog.51cto.com/8964890/1558908
Upgrade the LDAP syntax to the opath to upgrade the exchange custom address list.