Administration of Public Folders with the introduction of Exchange 2007

There are some key commandlets to use when using EMS to administer Public Folders in Exchange 2007. Here is a short list of useful commands

  • For Public Folders
    • Get-publicfolder -recurse |fl name,replicas
  • For System Folders
    • Get-public folder \non_ipm_subtree |fl name, replicas

To Move replicas to Exchange 2007

Moveallreplicas.ps1 –server<sourceserver> -newserver<destinationserver>

Note: Scripts are found at %SystemDrive%\Program Files\Microsoft\Exchange Server\Scripts. To run a script, type the following in the Exchange Management Shell:

[PS] C:\>cd $exscripts

[PS] C:\Program Files\Microsoft\Exchange Server\Scripts>.\Moveallreplicas.ps1

To add or remove a server from a public folder replica’s properties including subfolders you can use the following two scripts:
RemoveReplicaFromPFRecursive.ps1 –TopPubicFolder <\folder> –Server toRemove <servername>

AddReplicatoPFRecursive.ps1 –TopPulblicFolder <\folder> -ServerToAdd <servername>

For more information see this post:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.