The Exchange Management Shell provides support for public folder replication management both from the shell, and with some built-in scripts located in the Exchange Scripts directory. This recipe will provide a couple of methods that can be used to configure public folder replication.
To manage the replication settings for a public folder, use the
Set-PublicFolder
cmdlet. For example, to configure replicas to theMarketing
public folder, use the following command:Set-PublicFolder \Marketing -Replicas PFDB1,PFDB2
To set a custom replication schedule, use the
-ReplicationSchedule
parameter, as shown in the following example:Set-PublicFolder \Marketing ` -ReplicationSchedule "Friday.06:00 PM-Monday.05:00 AM"
You can reset this command and switch back to the default setting, which is to always allow replication:
Set-PublicFolder \Marketing -ReplicationSchedule Always
To configure a specific folder so that it uses the parent database replication...