Link to home
Start Free TrialLog in
Avatar of Chad Franks
Chad Franks

asked on

I am having trouble running the RemoveReplicaFromPFRecursive.ps1 to remove a replica from Exchange 2010 Public folders

I am migrating a customer from Exchange 2007 to Exchange 2010.  I have completed replicating all the Public folders to the new server and now I am trying to remove the old replica from all the public folders.  I know I can run the Powershell script to do this, but  I am having issues doing so.  Here is the command I run:

./RemoveReplicaFromPFRecursive.ps1 –Server CLOUD008-VM03-Exchange –TopPublicFolder \\ –ServerToRemove RTEX1

I am having trouble with the TopPublicFolder switch.  What do I put here?  I have tried everything...

Thanks
Avatar of SubSun
SubSun
Flag of India image

What about
–TopPublicFolder \

Open in new window

If it fails please post the error..
Avatar of Chad Franks
Chad Franks

ASKER

Ok, that worked somewhat.  It doesn't look like it did any sub-folders though.  Please see the picture I attached.
Error.jpg
Does the public folders specified in error have replica on server RTEX1?
Yes, do I need to remove that first?
Ideally the script should remove it.. Does that folder have replicas on servers other than server RTEX1?

I hope the account which you use to run the script have permission to manage public folder replicas.. :-)
I have 2 servers only, Old server and new server.  Both are replicas of eachother
ASKER CERTIFIED SOLUTION
Avatar of SubSun
SubSun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial