Wednesday 28 December 2011

Configuring Public folder replication Using powershell

If you want to configure Public folder replication the easy way then use powershell and the AddReplicaToPFRecursive.ps1 script supplied by Microsoft.

Make sure you run the command from the Program Files\Microsoft\Exchange Server\V14 directory or where ever you installed exchange.  Note this also works for Public folder replication between Exchange 2007 and Exchange 2010 if you are doing a migration, just make sure you run the script from Exchange 2010.


To replicate the System Public Folders

.\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\NON_IPM_Subtree" -ServerToAdd "ServerName"

To replicate the Default Public Folders

.\AddReplicaToPFRecursive.ps1 -TopPublicFolder "\" -ServerToAdd "ServerName"

No comments:

Post a Comment