Export (0) Print
Expand All
3 out of 4 rated this helpful - Rate this topic

How to Remove Public Folders

 

Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007

Topic Last Modified: 2009-02-17

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to permanently delete folders on all the Exchange public folder servers in your organization.

importantImportant:
Use this procedure to delete public folders and their contents, including files and subfolders, from your public folder system. Use this procedure only if you want to permanently delete folders on all the Exchange public folder servers. If you want to remove content from one server and move it to another server, change the folder’s replica list. For more information about how to relocate data from one server to another, see the topic How to Move Public Folder Content from one Public Folder Database to Another Public Folder Database.

To perform this procedure in the RTM version of Exchange 2007, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Also, before you perform this procedure, be aware that in the RTM version of Exchange 2007, public folders are managed only in the Exchange Management Shell. You cannot use the Exchange Management Console.

To perform this procedure in Exchange 2007 SP1, the account you use must be delegated the following:

  • Exchange Public Folder Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

  1. Start the Exchange Management Console.

  2. In the console tree, click Toolbox.

  3. In the result pane, click Public Folder Management Console, and then, in the action pane, click Open Tool. The Public Folder Management Console appears in a separate Microsoft Management Console (MMC).

  4. In the console tree, expand Default Public Folders, and then select the parent public folder of the public folder that you want to remove.

  5. In the result pane, select the public folder that you want to remove.

  6. In the action pane, click Remove. A warning appears. Click Yes to confirm that you want to remove the public folder.

  • To remove a public folder, run the following command:

    Remove-PublicFolder -Identity "\My Public Folder"
    
  • To remove a public folder and specify the server on which to act, run the following command:

    Remove-PublicFolder -Identity "\My Public Folder" -Server "My Server"
    
  • To test the previous command without making any modifications, run the following command.

    Remove-PublicFolder -Identity "\My Public Folder" -WhatIf
    
  • To remove the public folder named "\My Public Folder" and all of its subfolders (that is, to run the command recursively), run the following command:

    Remove-PublicFolder -Identity "\My Public Folder" -Recurse: $True
    
  • To remove a public folder, run the following command:

    Remove-PublicFolder -Identity "\My Public Folder"
    
  • To remove a public folder and specify the server on which to act, run the following command:

    Remove-PublicFolder -Identity "\My Public Folder" -Server "My Server"
    
  • To test the previous command without making any modifications, run the following command.

    Remove-PublicFolder -Identity "\My Public Folder" -WhatIf
    
  • To remove the public folder named "\My Public Folder" and all of its subfolders (that is, to run the command recursively), run the following command:

    Remove-PublicFolder -Identity "\My Public Folder" -Recurse: $True
    
To ensure that you are reading the most up-to-date information and to find additional Exchange Server 2007 documentation, visit the Exchange Server TechCenter.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.