9.1. Using the Public Folder Migration Tool
Problem
You want to quickly move some or all of the public folders housed on one server to another server.
Solution
Using a command-line interface
Get the PFMigrate.wsf script. You can download it from the Microsoft tools center (http://www.microsoft.com/exchange/2003/updates), or get it from the Support\ExDeploy folder on the Exchange Server 2003 CD.
Identify the source and target servers; any folder contained in the source server's replica list will be added to the target server's replica list. You will use these with the
/Sand/Toptions, respectively.Determine how many folders you want to move. The simplest way to do this is to run PFMigrate with the
/Roption, which tells it to produce a report. For example, this command line will generate a report for the server named tornado:> cscript PFMigrate.wsf /s:tornado /t:tornado /r
When you're adding replicas to a server, PFMigrate requires a folder count; when you're deleting replicas, it doesn't. This allows you to easily split large migrations into multiple phases.
If you're not running the script on an Exchange Server 2003 server, you'll need to use the
/WMIoption to specify the name of an Exchange Server 2003 server, because PFMigrate uses WMI to get the folder data.Run PFMigrate from the command line. For example, to move the first 25 public folders from cyclone to hurricane while logging the results in c:\temp\pfmigrate-add.log, you'd use this command line:
> cscript PFmigrate.wsf /S:cyclone ...