Does I need to move & upgrade Default Address Lists from EX2003 to EX2010 Server

Status
Not open for further replies.
A

Anand Sunka

Hi All,

Before do the phase our for EX2003 server from netwrok, does I need to move & upgrade AddressLists from EX2003 to EX2010 Server by running below commands :

To move Address lists using EMS:
To upgrade All Users default address list Set-AddressList " All Users" -IncludedRecipients MailboxUsers
To upgrade All Groups default address list Set-AddressList " All Groups" -IncludedRecipients MailGroups
To upgrade All Contacts default address list Set-AddressList " All Contacts" -IncludedRecipients MailContacts
To upgrade Public Folders default address list Set-AddressList " PublicFolders" -RecipientFilter { RecipientType -eq 'PublicFolder' }
To upgrade 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'))}

Any help really appreciated
Regards
Anand S
 
N

Neil Hobson [MVP]

Yes, in order to be able to manage the address lists from the Exchange Management Console in Exchange 2010, you need to upgrade them. Jaap details this in the article below:

http://www.simple-talk.com/sysadmin/exchan ge/upgrade-exchange-2003-to-exchange-2010---part-ii/

" Anand Sunka" wrote in message news:f6541897-92d7-4af2-b08f-ef82263b725b@communitybridge.codeplex .com...

Hi All,

Before do the phase our for EX2003 server from netwrok, does I need to move & upgrade AddressLists from EX2003 to EX2010 Server by running below commands :

To move Address lists using EMS:
To upgrade All Users default address list Set-AddressList " All Users" -IncludedRecipients MailboxUsers
To upgrade All Groups default address list Set-AddressList " All Groups" -IncludedRecipients MailGroups
To upgrade All Contacts default address list Set-AddressList " All Contacts" -IncludedRecipients MailContacts
To upgrade Public Folders default address list Set-AddressList " PublicFolders" -RecipientFilter { RecipientType -eq 'PublicFolder' }
To upgrade 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'))}

Any help really appreciated
Regards
Anand S
Neil Hobson, Exchange MVP
 
A

Anand Sunka

Hi Neil,

Thanks 4r reply.

I successfully run above 1st three commands except this 2 commands.

To upgrade Public Folders default address list Set-AddressList " PublicFolders" -RecipientFilter { RecipientType -eq 'PublicFolder' }
To upgrade 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'))}
When I run this 2 commands they both give errors.

Any help really appreciated
Regards
Anand S
 
J

Jonas Andersson [MCITP]

Hi

I posted a blog about this, but make sure you double check the format before running them

http://www.testlabs.se/blog/2010/05/11/how-to-update-legacy-email-address-policys/

Get-EmailAddressPolicy | where { $_.RecipientFilterType -eq " Legacy" } | Set-EmailAddressPolicy –IncludedRecipients AllRecipients
Set-AddressList " All Contacts" -IncludedRecipients MailContacts
Set-AddressList " All Groups" -IncludedRecipients MailGroups
Set-AddressList " All Users" -IncludedRecipients MailboxUsers
Set-AddressList " Public Folders" -RecipientFilter { RecipientType -eq 'PublicFolder' }
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'))

Hope it will help you solve the problem
Jonas Andersson MCTS: Microsoft Exchange Server 2007/2010 | MCITP: EMA 2007/2010 | MCSE/MCSA Blog: http://www.testlabs.se/blog
 
A

Allen Song

Hi,

Yes, that is necessary. Since the legacy Address List use LDAP filter. The Exchange 2007 and Exchange 2010 are use OPATH filter.

LDAP syntax filters are supported in Exchange 2010 and will exist only on objects that have been migrated from Exchange 2003 or earlier. You must upgrade these LDAP filters to the OPATH syntax only if you want to edit the filter from an Exchange 2010 server. For example, if you have Exchange 2003 servers in your organization, you can manage the LDAP syntax filter from an Exchange 2003 server. You cannot manage or create LDAP syntax filters in Exchange 2010.

Thanks

Allen
 
A

Anand Sunka

Hi Jonas,

B4r I run below commands in EX 2010 EMS do i need to convert LDAP filters to Opath filters.

Get-EmailAddressPolicy | where { $_.RecipientFilterType -eq “Legacy” } | Set-EmailAddressPolicy –IncludedRecipients AllRecipients
Set-AddressList “All Contacts” -IncludedRecipients MailContacts
Set-AddressList “All Groups” -IncludedRecipients MailGroups
Set-AddressList “All Users” -IncludedRecipients MailboxUsers
Set-AddressList “Public Folders” -RecipientFilter { RecipientType -eq "PublicFolder" }
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"))}

Waitin for ur reply

Regards
Anand S
 
J

Jonas Andersson [MCITP]

Hi Jonas,

B4r I run below commands in EX 2010 EMS do i need to convert LDAP filters to Opath filters.

Get-EmailAddressPolicy | where { $_.RecipientFilterType -eq “Legacy” } | Set-EmailAddressPolicy –IncludedRecipients AllRecipients
Set-AddressList “All Contacts” -IncludedRecipients MailContacts
Set-AddressList “All Groups” -IncludedRecipients MailGroups
Set-AddressList “All Users” -IncludedRecipients MailboxUsers
Set-AddressList “Public Folders” -RecipientFilter { RecipientType -eq "PublicFolder" }
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"))}

Waitin for ur reply

Regards
Anand S
These commands are just for the default addresslists, do you have any special with complex ldap queries?

Post them here in that case

Jonas Andersson MCTS: Microsoft Exchange Server 2007/2010 | MCITP: EMA 2007/2010 | MCSE/MCSA Blog: http://www.testlabs.se/blog
 
R

Richard Hill52

Hi Jonas,

What if exchange 2003 is going to be around for a while at other sites and I am installing the first 2010 server ?

Thanks

Richard
 
J

Jonas Andersson [MCITP]

You can keep them in LDAP format if you want, but before uninstalling exchange 2003 change them to OPATH or else you can't edit the polices in EMC/EMS

Jonas Andersson MCTS: Microsoft Exchange Server 2007/2010 | MCITP: EMA 2007/2010 | MCSE/MCSA Blog: http://www.testlabs.se/blog
 
A

Anand Sunka

Hi JOnas,

After running below 2 commands its giving below error as shown :

[PS] C:\Windows\system32>Set-AddressList " Public Folders" -RecipientFilter {RecipientType -eq `PublicFolder'}

Invoke-Command : Cannot bind parameter 'RecipientFilter' to the target. Exception setting " RecipientFilter" : " Invalid f
ilter syntax. For a description of the filter parameter syntax see the command help.
" RecipientType -eq `PublicFolder'" at position 19."
At C:\Users\administrator.V2SOLUTIONS\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\casnhub.in.v2solutions.com\ca
snhub.in.v2solutions.com.psm1:40332 char:29
+ $scriptCmd = { & <<<< $script:InvokeCommand `
+ CategoryInfo : WriteError: :)) [Set-AddressList], ParameterBindingException
+ FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.SystemConfigurationTasks.SetAddress
List

[PS] C:\Windows\system32>Set-GlobalAddressList " Default Global Address List" -RecipientFilter {(Alias -ne $null -and (Ob
jectClass -eq `user' -or ObjectClass -eq `contact' -or ObjectClass -eq `msExchSystemMailbox' -or ObjectClass -eq `msExch
DynamicDistributionList' -or ObjectClass -eq `group' -or ObjectClass -eq `publicFolder'))}
Invoke-Command : Cannot bind parameter 'RecipientFilter' to the target. Exception setting " RecipientFilter" : " Invalid f
ilter syntax. For a description of the filter parameter syntax see the command help.
" (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'))" a
t position 40."
At C:\Users\administrator.V2SOLUTIONS\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\casnhub.in.v2solutions.com\ca
snhub.in.v2solutions.com.psm1:43929 char:29
+ $scriptCmd = { & <<<< $script:InvokeCommand `
+ CategoryInfo : WriteError: :)) [Set-GlobalAddressList], ParameterBindingException
+ FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.SystemConfigurationTasks.SetGlobalA
ddressList

Rest 3 commands given below message

[PS] C:\Windows\system32>Set-AddressList " All Users" -IncludedRecipients MailboxUsers
WARNING: The command completed successfully but no settings of '\All Users' have been modified.
[PS] C:\Windows\system32>Get-EmailAddressPolicy | where { $_.RecipientFilterType -eq " Legacy" } | Set-EmailAddressPolicy
-IncludedRecipients AllRecipients
Creating a new session for implicit remoting of " Get-EmailAddressPolicy" command...

Confirm
To save changes on object " Default Policy" , the object must be upgraded to the current Exchange version. After the
upgrade, this object cannot be managed by an earlier version of Exchange Management Tools. Do you want to continue to
upgrade and save the object?
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is " Y" ): A
[PS] C:\Windows\system32>Set-AddressList " All Contacts" -IncludedRecipients MailContacts
WARNING: The command completed successfully but no settings of '\All Contacts' have been modified.
[PS] C:\Windows\system32>Set-AddressList " All Groups" -IncludedRecipients MailGroups
WARNING: The command completed successfully but no settings of '\All Groups' have been modified.
[PS] C:\Windows\system32>Set-AddressList " All Users" -IncludedRecipients MailboxUsers
WARNING: The command completed successfully but no settings of '\All Users' have been modified.

Please let us know above 3 commands are fine or not. We have 1 manually created Email Address Policy & we dnt have any extra Recipient Filters. All we have default address lists.

Any help really appreciated

Regards
Anand Sunka
 
J

Jonas Andersson [MCITP]

Hi

Ok, try this instead and give me some feedback

Set-AddressList " Public Folders" -RecipientFilter {RecipientType -eq `Public Folder'}
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 `public Folder'))}

Jonas Andersson MCTS: Microsoft Exchange Server 2007/2010 | MCITP: EMA 2007/2010 | MCSE/MCSA Blog: http://www.testlabs.se/blog
 
D

DarrenWCC

Hello

I have exactly the same problem with the two cmdlets for Public Folders and Default Global Address List. My cmdlets and errors are:

Set-AddressList " Public Folders" -RecipientFilter {RecipientType -eq " PublicFolder" }
Invoke-Command : Cannot bind parameter 'RecipientFilter' to the target. Exception setting " RecipientFilter" : " Invalid filter syntax. For a description of the filter paraeter syntax see the command help.
" RecipientType -eq PublicFolder" at position 19."
At C:\Users\DAdmin\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\mail.wcc.qld.edu.au\mail.wcc.qld.edu.au.psm1:43213 char:29
+ $scriptCmd = { & <<<< $script:InvokeCommand `
+ CategoryInfo : WriteError: :)) [Set-AddressList], ParameterBindingException
+ FullyQualifiedErrorId : ParameterBindingFailed,Microsoft.Exchange.Management.SystemConfigurationTasks.SetAddressList

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'))}
You can't peform this operation on default global address list " Default Global Address List" .
+ CategoryInfo : InvalidOperation: (\Default Global Address List:ADObjectId) [Set-GlobalAddressList], InvalidOperationException
+ FullyQualifiedErrorId : 7804D023,Microsoft.Exchange.Management.SystemConfigurationTasks.SetGlobalAddressList

Any help to resolve will be greatly appreciated. By the way, I have tried double and single quotes in thet cmdlet.

Thanks
Darren
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
B My microsoft outlook does not function. Do I need to install or activate? Using Outlook 4
B Re: My microsoft outlook does not function. Do I need to install or activate? Using Outlook 1
D Need to export contacts but the export/import option does not show in the advanced options tab as the HELP option says it will Using Outlook 4
A Does CAS-only server need Forefront security protection for Exchange 2010? Exchange Server Administration 4
N Free/busy publish at http location does not work Using Outlook 1
T Why does outlook 2010 convert only some forum notifications to plain text? Using Outlook 0
R Auto display of new email does not work on non-default account Outlook VBA and Custom Forms 0
M Deleting attachments does not reduce file size Using Outlook 0
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
M Outlook .com group does not show up in Outlook for office 365 home Using Outlook 3
W Outlook Calendar does not save view any longer! Using Outlook 3
B Outlook 2016 Does not Shutdown Correctly Using Outlook 3
P Desktop doesn't index Outlook IMAP files, laptop Outlook does index those same IMAP files Using Outlook 2
G Entered data in custom field goes in card and does not stay in list view Outlook VBA and Custom Forms 1
witzker social connector 2010 does not show all emails to or from contact Using Outlook 3
witzker social connector 2010 does not show all emails to or from contact New Slipstick.com Articles 0
Rupert Dragwater Email flag does not show up in Outlook2013 Using Outlook 13
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
D Outlook 2016 IMAP Connection Returns All Email but outlook.com does NOT Using Outlook.com accounts in Outlook 2
A BCM does not work anymore! BCM (Business Contact Manager) 1
D Outlook 2016: /altvba startup switch does not work Using Outlook 2
A BCM does not work with Windows 10 1703 any more BCM (Business Contact Manager) 3
S Outlook does not open the .pst file created by the Outlook Using Outlook 5
Q Undisclosed recipients does not include sender Using Outlook 1
N Does a Shared Folder Policy override a Digital Signature Setting for macros? Outlook VBA and Custom Forms 6
E What does mean this icon at the picture attached? Using Outlook 2
O Windows 10 x64 Outlook 2013 - URL does not open (anymore) Using Outlook 3
M How does Outlook determine item numbers in a folder? Outlook VBA and Custom Forms 3
LarryS change day template as cpao does not see .catx files Outlook VBA and Custom Forms 4
C Discovery search does not show autoforwarded messages Exchange Server Administration 1
C Unchecking "Send immediately when connected" does not work on apps that call Outlook Using Outlook 1
J Outlook 2010 VBScript editor does not run code at all Outlook VBA and Custom Forms 0
Mark Foley Time span on WebDAV published Calendars does not appear to be working Using Outlook 7
snhnic Macro that does not overwrite but add a number Outlook VBA and Custom Forms 1
Rupert Dragwater Deleting email from Deleted Items does not work Using Outlook 0
G Outlook does not show new appointments in To-Do-Bar Using Outlook 0
G Calendar does not point to deafult data file Using Outlook 0
Diane Poremsky What does the "J" mean? New Slipstick.com Articles 0
Christiaan Could not complete operation because the service provider does not support it Using Outlook 2
Simon How does the sender/organizer to dictate the color of a meeting invitation. Using Outlook 3
C bcm 2010 download does not recognize outlook Using Outlook 3
A Does Outlook import Gmail Archive? Using Outlook 1
1Firefly Outlook 2013 Converstation preview does not show my last reply Exchange Server Administration 1
K CommandButton1 does not respond Outlook VBA and Custom Forms 1
J What exactly does the BCM Database tool actually do? BCM (Business Contact Manager) 3
Alex Hall When updating shared calendar, it does not automatically update personal calendar Using Outlook 3
T outlook 2013 does not mark multiple forward messages as forward Using Outlook 2
C Outlook 2013 - Email Gets Sent - But Does Not Move From Outbox to Sent Box Using Outlook 4
U pfbackup does not work Using Outlook 2
M does outlook 2013/365 on mac support custom forms? Outlook VBA and Custom Forms 1
Similar threads


















































Top