Wednesday 1 June 2011

Removing Public Folder database during Exchange 2007 to 2010 Transition

During the decommission of Exchange 2007 you need to delete the public folder database on the Exchange 2007 box.


You might see this error:


One solution if you have configured all your replicas correctly is to issues this commands to nuke all public folders allowing the database to be removed.



Get-PublicFolder -server E2007SERVERNAME “\” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -server E2007SERVERNAME -Recurse -ErrorAction:SilentlyContinue



Get-PublicFolder -Server E2007SERVERNAME “\Non_Ipm_Subtree” -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server E2007SERVERNAME -Recurse -ErrorAction:SilentlyContinue

After I nuked the PFs I got this error from the EMC:
The solution is to remove the public folder database from the Exchange 2010 EMS, first get the 'idenitiy' of the public folder database from the Exchange 2007 server by issuing this command.
Get-PublicFolderDatabase -Server EXCH07 | fl name, identity

Once you have the output you can issue this command on the 2010 EMS
Remove-PublicFolderDatabase "EXCH07\Second Storage Group\Public Folder Database"

Now you can remove Exchange 2007 via the add/remove control panel.


How to install Exchange Server 2007 SP3 on a computer that is running Windows SBS 2008:http://support.microsoft.com/kb/982423

No comments:

Post a Comment