I have an Exchange 2007 server that I migrated from Exchange 2003 onto.
The Server OS was running Server 2008 R2, which to my surprise does not completely support Exchange 2007.
Microsoft however has heard a mouthful about this and they will release support.
Consequently, I had to load up another box, put on Server 2008 SP2.
Then I loaded Exchange 2007, moved all mailboxes, etc.
I need to now uninstall Exchange 2007 from 2008 R2 and decommission the R2 Server.
However, I can't seem to remove the final Mailbox role.
I used the following script.
MoveAllReplicas.ps1 -Server MAIL -NewServer MAIL02
However after running this multiple times to my dismay no luck
I used the next command.
Remove-PublicFolderDatabase -Identity "MAIL\Second Storage Group\Public Folders"
I recieve this error.
Remove-PublicFolderDatabase : The public folder database "MAIL\Second Storage G
roup\Public Folders" contains folder replicas. Before deleting the public folde
r database, remove the folders or move the replicas to another public folder da
tabase. For detailed instructions about how to remove a public folder database,
see
http://go.microsoft.com/fwlink/?linkid=81409.
At line:1 char:28
+ Remove-PublicFolderDatabase <<<< -Identity "MAIL\Second Storage Group\Public
Folders"
+ CategoryInfo : InvalidOperation: (MAIL\Second Storage Group\Pub
lic Folders:ADObjectId) [Remove-PublicFolderDatabase], InvalidOperationExc
eption
+ FullyQualifiedErrorId : 77089DD3,Microsoft.Exchange.Management.SystemCon
figurationTasks.RemovePublicFolderDatabase
I am frustrated. Can anyone help? Thanks!