This script adds multiple public folder servers to all public folders below a TopPublicFolder.
The script has been developed as part of an on-premise legacy public folder migration from Exchange 2007 to Exchange Server 2010.
The script waits a given timespan in seconds to let public folder hierarchy replication and replica backfill requests kick in.
It is assumed that the script is being run in an Exchange 2007 or Exchange 2010 server.
# Add replicas for SERVER01,SERVER02 to all sub folders of \COMMUNICATIONS\PR
.\Add-PFReplica.ps1 -ServersToAdd SERVER01,SERVER02 -PublicFolderServer SERVER01 -TopPublicFolder "\COMMUNICATIONS\PR