« Movable Type 4.261 | Main | Life In Canada »
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> | flPROCEED AT YOUR OWN RISK!
Posted at 23:10

Leave a comment