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
It will show as below
Public Foler 33
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:
You can now remove or un-mount the old 2007 Public Folders