Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Overview of this book

Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 AM"
  3. You can reset this command and switch back to the default setting, which is to always allow replication:

    Set-PublicFolder \Marketing -ReplicationSchedule Always
  4. To configure a specific folder so that it uses the parent database replication...