For most Exchange Server organizations migrating public folders is as simple as moving replicas from one server to another. This can be achieved using one of two methods:
- Moving all Public Folder replicas using the Exchange 2003 System Manager console
- Moving all Public Folder replicas using the Exchange 2010 Management Shell
Either method will work in just about any scenario, it just comes down to which one you’re most comfortable using.
Moving all Public Folder Replicas to Exchange Server 2010 Using the Exchange 2003 System Manager Console
In this example scenario the public folders hosted on the Head Office Exchange 2003 server are being moved to the Head Office Exchange 2010 Mailbox server.
As with mailbox migrations public folder migrations can generate heavy disk I/O on the source server, and will generate a lot of transaction logging that consumes free disk space on the target server.
On an Exchange 2003 server open Exchange System Manager. Navigate to the server that currently hosts the public folder replicas, and browse to the public folder Instances folder of the public folder database.
Note the public folder instances currently on this server.
Right-click the public folder database and choose Move All Replicas.
Choose the public folder database to move the replicas to.
A warning appears that the move may take a lot of time depending on the amount of public folder content to be moved. Click OK to begin.
You can refresh the public folder instances folder to monitor progress. This operation can take some time, even for a small amount of public folder content. When the public folder instances displays an empty list the operation has completed.
Moving all Public Folder Replicas to Exchange Server 2010 Using the Exchange Management Shell
Public folder replicas can also be moved using the Exchange Management Shell. In this example the public folders hosted on the Branch Office Exchange 2003 server will be moved to the Branch Office Exchange 2010 Mailbox server.
On the Exchange 2010 server open the Exchange Management Shell. Navigate to the scripts folder of the Exchange installation folder.
[PS] C:\>cd $env:exchangeinstallpathscripts
Microsoft has supplied a PowerShell script called MoveAllReplicas.ps1 for moving public folder replicas. Run the script with the following parameters:
- -Server is the name of the Exchange 2003 server
- -NewServer is the name of the Exchange 2010 server
Note that this is a single-line command run from the folder containing the scripts.
[PS] C:Program FilesMicrosoftExchange ServerV14scripts>.MoveAllReplicas.ps1 -Server ESP-BR-DC -NewServer ESP-BR-EX2010
You can use the same method as with the Exchange System Manager console technique to determine when all replicas have been moved.