How can I remove public folder replica for a folder and sub folders not a top folder?

I mgrated fro Exchange 2003 Servers to Exchange 2007 Servers. I am required to remove replication form 100 sub folders with 1000s of subfolders, I cant just move all replicas or top folders, I have to do the top folders last . PS only removes top folders and pfDavAdmin only removes replica's from a single folder and you manually have to remove replicas from all the sub folders. Any suggestions how to remove more replicas from PF folders in less time. Note: they are not top folders.?.
355LT1Asked:
Who is Participating?
 
HeshamMousaConnect With a Mentor Commented:
If Public Folders are hosted on more than one server, use the MoveAllReplicas.ps1 script to remove replicas from a server, as illustrated in KB 927464: How to remove Exchange 2007 from a computer.

The MoveAllReplicas.ps1 script resides in the \Scripts folder in the path where Exchange Server 2007 is installed. It’s an easy-to-use script that takes 2 parameters — the source and target server names. The source server is the server you’re trying to remove the Public Folder replicas from. The target server can be any other server in the Organization that hosts Public Folders — presumably a server that’s in the same location (AD Site) to avoid replicating PFs over WAN links.

MoveAllReplicas.ps1 -Server “SOURCE SERVER NAME” –NewServer “TARGET SERVER NAME”
 
Once this is done, it may take some time for Public Folders to replicate to the target server, and for these to be removed from the source server. To verify there are no replicas on the source server, you can use the Get-PublicFolderStatistics command.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.