Exchange 2003 to 2010 transition and Public Folders
I am trying to test transition from 2003 to 2010. I have ran these scripts hoping to get our Public folders tree on the new Exchange 2010 mailbox server but no luck: Open Exchange Management Shell change change the path to drive:\Program Files\Microsoft\Exchange Server\V14\Scripts Then type .\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\" -ServerToAdd "exchange2010" The above command will add replica of all public folders to exchange 2010 public folder database. Once the replica is added you can move the replica from Exchange 2003 to Exchange 2010. To do this execute the below EMS command .\MoveAllReplicas.ps1 -Server "Exchange2003" -NewServer "Exchange 2010" I did that but now if i use OWA for instance the public folder is empty, if OWA user is in 2003 Public Folders appear correctly. Anything i am missing? Thanks in advance for you rhelp.
July 19th, 2010 5:05pm

Plz check: 1. Do u have a pf database on Ex 2010 server? Run following command to verify it: Get-PublicFolderDatabase|FL Identity 2. Check whether u have set Ex 2010 PF Database on the mailbox database containing your mailbox. You can check it Get-MailboxDatabase |FL PublicFolderDatabase See if it returns the EX 2010 pf db. 3. IF proper pf db is set then check PF contents on your Ex 2010 server first see whether public folder exists Get-PublicFolder '\' -GetChildren then check contents: Get-PublicFolderStatistics "Ex2010ServerName" see if pf db has some contents or not. Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 5:20pm

Hi Laeeq, See below output [PS] C:\Windows\system32> Get-PublicFolderDatabase|FL Identity Identity : PublicFolderDatabase2010 [PS] C:\Windows\system32>Get-MailboxDatabase |FL PublicFolderDatabase PublicFolderDatabase : AMSTERDAM-MS01\Storage Group 1-AMS\Public Folder Store ( AMSTERDAM-MS01) PublicFolderDatabase : AMSTERDAM-MS01\Storage Group 1-AMS\Public Folder Store ( AMSTERDAM-MS01) PublicFolderDatabase : AMSTERDAM-MS01\Storage Group 1-AMS\Public Folder Store ( AMSTERDAM-MS01) Please note that the server called AMSTERDAM-MS01 is the 2003 exchange server. So that means that the move hasnt been performed? When i first ran .\MoveAllReplicas.ps1 -Server "Exchange2003" -NewServer "Exchange 2010" i didnt receive any error (of course ichanged the command with correct hostnames)
July 19th, 2010 5:37pm

Hi, Your Ex2010 MBX DB is pointing to Ex 2003 PF DB, which is wrong. So first set it like this Set-MailboxDatabase "Your EX2010 DBName" -PublicFolderDatabase "PublicFolderDatabase2010" or for all MBX DBs u can run: Get-MailboxDatabase |Set-MailboxDatabase -PublicFolderDatabase "PublicFolderDatabase2010" and then check PFs in OWA. If it still doesnt show PFs then reply me about Step #3 in my last post. Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 5:50pm

Did as you said Get-MailboxDatabase |Set-MailboxDatabase -PublicFolderDatabase "PublicFolderDatabase2010" This only affects PFs right? Now i get: [PS] D:\Exchange\Scripts> Get-PublicFolderDatabase|FL Identity Identity : PublicFolderDatabase2010 Get-PublicFolder '\' -GetChildren returns nothing...
July 19th, 2010 6:27pm

This only affects PFs right? Yes it will only affect PFs. Get-PublicFolder '\' -GetChildren returns nothing... This means that you have no public folder on Ex2010 server. On your EX2010, you can also check it using "Public Folder Management Console", which is available from "EMC->Tools". Plz see if there is any PF on your Ex 2010 server. I doubt that your PFs have not been replicated to Ex2010 server. Also check in Ex 2003 ESM, can u see Ex2010 as a replica server for root public folder? Regards, Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 6:34pm

I guess thats what i am missing the 2010 server is not in the replica list. Just added it and will wait for replication. thx!
July 19th, 2010 6:48pm

I guess thats what i am missing the 2010 server is not in the replica list. Just added it and will wait for replication. thx! Hi, Ex 2010 shud be added to all PFs as Replica on Ex 2003. I suggest u to run this script "AddReplicaToPFRecursive.ps1" with -Server parameter like this AddReplicaToPFRecursive.ps1 -Server "Ex2003ServerName" -TopPublicFolder "\" -ServerToAdd "exchange2010" And then see if you have replica on Ex 2010 using Get-PublicFolder '\' -recurse |FL Identity, Replica* Plz also have a look into this MS article: http://msexchangeteam.com/archive/2007/06/25/445429.aspx Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 7:00pm

Thanks Again Laeeq! I was missing the correct syntax for AddReplicaToPFRecursive.ps1 -Server "Ex2003ServerName" -TopPublicFolder "\" -ServerToAdd "exchange2010"
July 19th, 2010 7:37pm

Thanks Again Laeeq! I was missing the correct syntax for AddReplicaToPFRecursive.ps1 -Server "Ex2003ServerName" -TopPublicFolder "\" -ServerToAdd "exchange2010" You are welcome Thomas, glad that it solved your problem. Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
July 19th, 2010 7:39pm

Aarghh spoke too soon actually it looks like this command will only run if the source server is running Exchange 2007, which is not true in my case as i run Exchange 2003. So i think i have to manually add the 2010 server as a replica from the 2003 management console. [PS] D:\Exchange\Scripts> .\AddReplicaToPFRecursive.ps1 -Server "amsterdam-ms01. eu.acme.com" -TopPublicFolder "\" -ServerToAdd "ams1-mbx-01.eu.acme.com" Server 'amsterdam-ms01.eu.acme.com' is running Microsoft Exchange 2003 or ea rlier. + CategoryInfo : InvalidOperation: (:) [], InvalidOperationExcept ion + FullyQualifiedErrorId : 79B39DD3
July 19th, 2010 7:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics