Network Manager

My Dear Experts,

I have migrated my Exchange 2007 SP3 into Exchange Server 2010 and moved all Mailboxes to the new platform and now i'm uninstalling the mailbox role server but I have to delete the Public folder from it keeping into your consideration that I have created a new Public folder in the New Exchange 2010 and configured all databases with it.

now when i'm deleting the public folder using Powershell 2007, I am getting that error

[PS] C:\Windows\system32>Remove-PublicFolderDatabase -Identity "Mailsrv\publicfo
Remove-PublicFolderDatabase : The public folder database "MAILSRV\PublicFolderS
G\PublicFolder" contains folder replicas. Before deleting the public folder dat
abase, remove the folders or move the replicas to another public folder databas
e. For detailed instructions about how to remove a public folder database, see
At line:1 char:28
+ Remove-PublicFolderDatabase <<<<  -Identity "Mailsrv\publicfoldersg\publicfol
    + CategoryInfo          : InvalidOperation: (MAILSRV\PublicFolderSG\Public
   Folder:ADObjectId) [Remove-PublicFolderDatabase], InvalidOperationExceptio
    + FullyQualifiedErrorId : 77B8D273,Microsoft.Exchange.Management.SystemCon

how can I move the replica that is mentioned in error and how to check it's moved already.

I wish not to use ADSI.edit, I want to delete normally from EMC or powershell.

Best Regards,
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Marshal HubsEmail ConsultantCommented:
@Network Manager

I never ever tried before Exchange 2007 SP3 into Exchange Server 2010. But I found some   link which make easy to understand this migration process :

Find here Updated Rollups for Exchange 2007 & Exchange 2010
Network_ManagerAuthor Commented:
I already did the upgrade, now I need to delete the Public folder from Exchange Server 2007 to uninstall it

this is the point
Marshal HubsEmail ConsultantCommented:

So you can remove by following commands

Remove-PublicFolderDatabase -Identity "<server>\<storage group>\<public folder database>"

Open in new window

Simon Butler (Sembee)ConsultantCommented:
You need to use the move all replica script to move everything from the old server to the new one.
You will find this in the Scripts directory on the Exchange 2007 server.

You will only be able to remove the public folder database when get-publicfolderstatistics returns nothing.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.