Set additional servers as Public Folder Replicas

/

In most transition phases from Exchange 2003, it is often a tedious process of adding the new Exchange 2010 servers (it also works for Exchange 2007), as additional Replicas on all existing Public Folders.

Previous using bulk operations with PFDAVADMIN was the fastest way forward. But why not use the script tools that comes with Exchange 2007 and 2010, it is even faster and more simple to use.

AddReplicaToPFRecursive.ps1 is in my opinion THE tool to use! πŸ™‚

The script is located together with the Exchange binaries, under: C:Program FilesMicrosoftExchange ServerScripts.

The script recursively goes through and updates your public folders replicas for every public folder in a hierarchy that you specify.

To add an additional Exchange server for your default public folders run:

AddReplicaToPFRecursive.ps1 -TopPublicFolder "" -ServerToAdd Servername

To add an additional Exchange server for your system public folders run:

AddReplicaToPFRecursive.ps1 -TopPublicFolder "NON_IPM_SUBTREE" -ServerToAdd Servername

With a lot of Public Folders the command can run for a long time, but just be patience, if there is problems, it will fail.

Confirm that Replication Partners on either the System Manager on Exchange 2003 or run this command on the Exchange 2010 environment:

Get-PublicFolder "" -Recurse | ft name,replicas

or

Get-PublicFolder "" -Recurse | fl name,replicas