Sunday 21 June 2009

Removing Public Folders From Exchange 2007

PROCEED AT YOUR OWN RISK!

I TAKE ABSOLUTELY NO RESPONSIBILITY IF YOU ATTEMPT TO FOLLOW THESE INSTRUCTIONS AND DESTROY YOUR EXCHANGE SERVER IN THE PROCESS!


If you have Exchange 2003, please read these instructions.

If you are in the situation where you want to remove the last public folders from your organisation, and you only have one Exchange server so are not worried about replicas – then the following commands will help you do so.

Using the Exchange Management Shell, enter the following 3 commands and then from the Management Console you can remove the Public Folder store.

Get-PublicFolder -Server <servername> "\" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <servername> -Recurse -ErrorAction:SilentlyContinue

Get-PublicFolder -Server <servername> "\Non_Ipm_Subtree" -Recurse -ResultSize:Unlimited | Remove-PublicFolder -Server <servername> -Recurse -ErrorAction:SilentlyContinue

Get-PublicFolderStatistics -Server <servername> | fl

PROCEED AT YOUR OWN RISK!

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

quack - © 2002-2012
Monthly Archives
Category Archives