Tag Archives: 2007 to 2010

How to: Migrate Public Folders from Exchange 2007 to 2010

Create new public folder on Exchange 2010.

On Exchange Powershell run the below:

.\AddReplicaToPFRecursive.ps1 -TopPublicFolder “\” -ServerToAdd

Make sure that you run it on the Exchange 2010 powershell because, if you run it on the 2007 you will get the below error:

Get-PublicFolder : There is no existing PublicFolder that matches the following
Identity: '\'. Please make sure that you specified the correct PublicFolder Id
entity and that you have the necessary permissions to view PublicFolder.

Run the below to verify the replicas are functioning and the folders are showing

Get-PublicFolder -Identity “\” -Recurse -ResultSize Unlimited |ft identity,replicas –auto

To view the item count of the replica run

Get-PublicFolderStatistics

It will show as below

Name ItemCount
---- ---------
Public Foler 33
Sales 111
CompanyBook 592

You can run the above powershell command on the 2007 server to check the amount of items so that you can compare with the new server.

Once the replication is ready,

Got to folder C:\Program Files\Microsoft\Exchange Server\v14\scripts and run:
./MoveAllReplicas.ps1 -Server -NewServer

You can now remove or un-mount the old 2007 Public Folders

(1164)