Public Folder replication Exchange 2007 to 2010

When migrating from Exchange 2007 to 2010 and you have moved all the mailboxes across. Now comes the time to move the Public Folders. Below is a set by step guide with the required Powershell commands to move your Public Folders.

1. Add new Exchange 2010 server to the Personal Public Folder replica set:

.\AddReplicaToPFRecursive.ps1 -server Exchange2007 -TopPublicFolder “\” -Servertoadd Exchange2010

2. Add new Exchange 2010 server to the System Public Folder Replica set:

.\AddReplicatoPFRecursive.ps1 -TopPublicFolder “\Non_IPM_Subtree” Servertoadd Exchange2010

3. Manually Start the replication process.

Update-PublicFolderHierarchy -Server Exchange2010

4. Monitor the replication status

Replication can days to happen so do it as early as possible. Run the below commands on new and old server to compare the amount of Public Folders and items to know when all Public Folder items have replicated.

Old Server:

Get-PublicFolderStatistics -Server Exchange 2007

New Server:

Get-PublicFolderStatistics -Server Exchange 2010

5. When the Replication has completed we need to remove the old server from the Replica set.

.\RemoveReplicaFromPfrecursive.ps1 -server Exchange2010 -TopPublicFolder “\” -ServerToRemove Exchange2007

.\RemoveReplicaFromPfrecursive.ps1 -server Exchange2010 -TopPublicFolder “\Non_IPM_Subtree” -ServerToRemove Exchange2007

6. Once this is completed go the the Exchange 2007 server – EMC – Server Configuration – Mailbox. On the properties of your Mailbox Database under client settings change the Default Public Folder Database to the one residing on the Exchange 2010 server.

7. To uninstall Exchange you will need to delete the old Public Folder Database. Log onto the EMS of your Exchange 2010 server and run the following command:

Remove-PublicFolderDatabase -Identity “Old Public Folder Database”




2 thoughts on “Public Folder replication Exchange 2007 to 2010

  1. Pingback: Public Folders not Replicating Exchange 2007 to Exchange 2010 |

  2. Thank You for posting this. It is much clearer from your procedure what steps need performed and why than the MS TechNet article!

Leave a Reply

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