I am trying to uninstall exchange 2007 (it was never used (installed by default on a sms box) and want to free up space).
I run the uninstall and an error cannot continue. The public folder database cannot "***\Second storage group\public folder database" contains replicas
I then run the command from the exchange shell
Get-PublicFolder -Identity \ -GetChildren | Remove-PublicFolder -Recurse
I get the error cannot find a mailbox to logon the public folder database.
I also run
Get-PublicFolder -Server *** "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server *** -Recurse -ErrorAction:SilentlyContinue
*** server name
And get the same error - I don't know exchange very well so basic instructions would help
Cheers for your time