Configuring public folder replication

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.

How to do it...

  1. To manage the replication settings for a public folder, use the Set-PublicFolder cmdlet. For example, to configure replicas to the Marketing public folder, use the following command:
    Set-PublicFolder \Marketing -Replicas PFDB1,PFDB2
  2. 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 ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.