AI Adsense

Thursday, August 29, 2013

Removing Exchange 2007 Public Folders from Exchange 2010 Environment

Before beginning any of this work make sure you either no longer need public folders in your environment (Office 2000/2003 has to have them) or that they have fully replicated to your new Exchange server.

1. Try to remove the public folders through the EMC.  If this fails now it's time to get tough.

2. Open Exchange Management Shell and enter the following:

Get-PublicFolder -Server SERVERNAME "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server SERVERNAME -Recurse -ErrorAction:SilentlyContinue
3. Next run this command:
Get-PublicFolder -Server SERVERNAME "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server SERVERNAME -Recurse -ErrorAction:SilentlyContinue
4. Refresh the EMC and the public folders will be gone.  If this does not work and you're fully sure you need them removed then this last step truly removes them from the environment.  All that's left is to manually delete the files if needed.

  1. Connect to your DC.
  2. Open ADSIEDIT.MSC console and connect to configuration.
  3. Go to the following path.
–> CN=Configuration –> CN=Services –> CN=Microsoft Exchange –> CN=YOUR ORGANISATION –> CN=Administrative Groups –> CN=First Administrative Group –> CN=Servers –> CN=SERVER NAME +—> CN=InformationStore

This final step ensures that even though the folders/files may still exist they are removed from AD and will not prevent removing Exchange 2007 at that point.

Good luck! 

No comments: