Step 1: Replicating Exchange 2003 Public folders to Exchange 2010
Add the Exchange 2010 server as Public folders replica partner for the Exchange 2003 server PF\'s:
From the Exchange 2010 server:
.\\AddReplicaToPFRecursive.ps1 -server \"Exchange 2010 Server\" -TopPublicFolder \"\\\" -ServerToAdd \"Exchange 2010 Server\"
From the Exchange 2010 server:
Update-PublicFolderHierarchy -Server \"Exchange 2010 Server\"
Step 2: Moving Exchange 2003 Public Folders to Exchange 2010
To move all Exchange 2003 replicas to Exchange 2010, which will actually remove the Exchange 2003 replicas:
From the Exchange 2010 server:
.\\MoveAllReplicas.ps1 -Server \"Exchange 2003 Server\" -NewServer \"Exchange 2010 Server\"
To view a list of the replicas in the public folder hierarchy: Get-PublicFolder -recurse |fl name,replicas
For System Folders: Get-PublicFolder -recurse \\non_ipm_subtree |fl name, replicas
To compare content replicated between the source and destination servers: Get-PublicFolderStatistics
Source
Move Public Folder Content from One Public Folder Database to Another Public Folder Database http://technet.microsoft.com/en-us/library/bb331970.aspx