We help IT Professionals succeed at work.

Exchange 2010 Public Folder Repliicas

mazucker100
mazucker100 asked
on
I am moving from Exchange 2003 to Exchange 2010. I want public folders on 2003 and another copy on 2010. Do I need to manually add a replica to each 2003 folder or is there a powershell I can use?
Comment
Watch Question

Commented:
Hi,

Run the following script from Exchange Management Shell in Exchange 2010 server

 .\AddReplicaToPFRecursive.ps1 -server "Exchange 2003 Server" -TopPublicFolder "\" -ServerToAdd "Exchange 2010 Server"

Example:D:\Exchange\Scripts> .\AddReplicaToPFRecursive.ps1 -Server "Exchange 2003 Server" -TopPublicFolder "\" -ServerToAdd "Exchange 2010 Server".
Commented:
Like Morasia said the above is very usefull and will add a replica to all your PF folders.
But.. and no idea why nobody never mention it ...
It will not add a replica to your system PF folders. You will nee to run it again with "\NON_IPM_SUBTREE"
Also with this example the cmdelet will fail because the "Server" parameter is the server to operate against. Must be an Exchange 2010 Mailbox server with a public folder database. Defaults to a convenient server. Remove it like below:
[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\AddReplicaToPFRecursive.ps1  -TopPublicFolder "\" -ServerToAdd "Exchange 2010 Server"
[PS] C:\Program Files\Microsoft\Exchange Server\V14\Scripts>.\AddReplicaToPFRecursive.ps1  -TopPublicFolder "\NON_IPM_SUBTREE" -ServerToAdd "Exchange 2010 Server"

Explore More ContentExplore courses, solutions, and other research materials related to this topic.