Export (0) Print
Expand All

How to Remove a Public Folder Database

 

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

Topic Last Modified: 2008-01-24

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to remove a public folder database.

importantImportant:
Removing a public folder database is a multi-step process. Therefore, before you perform this procedure, make sure that you have first performed the other steps in this process. For detailed instructions about how to remove public folder databases, see Removing Public Folder Databases.

To perform these tasks, the account you use must be delegated the following:

  • Exchange Organization Administrator role

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

  1. Depending on your scenario, perform the steps listed in "Removing a Public Folder Database From a Mailbox Server" or " Removing the Last Public Folder Database From an Organization" in the topic Removing Public Folder Databases.

  2. Start the Exchange Management Console.

  3. In the console tree, expand Server Configuration, and then click Mailbox.

  4. In the result pane, click the server from which you want to remove the public folder database.

  5. In the work pane, expand the storage group from which you want to remove the public folder database, and then click the public folder database that you want to remove.

  6. In the action pane, click Remove. A message appears asking if you are sure that you want to remove the database. Click Yes.

    noteNote:
    If you have not moved public folder replicas to another server, or if you have not removed all of the public folders in the public folder database, you will receive an error stating that the public folder database cannot be removed because it contains public folder replicas. For detailed instructions about how to remove public folders, see Removing Public Folder Databases.
  7. A Microsoft Exchange Warning page appears, indicating that the database was successfully removed and reminding you to manually remove the database file. The default location for these files is C:\Program Files\Microsoft\ExchangeServer\Mailbox\<storage group name>\<public folder database name>.

  1. Depending on your scenario, perform the steps listed in "Removing a Public Folder Database From a Mailbox Server" or " Removing the Last Public Folder Database From an Organization" in the topic Removing Public Folder Databases.

  2. Run the following command:

    Remove-PublicFolderDatabase -Identity "<server>\<storage group>\<public folder database>"
    
    noteNote:
    If you have not moved public folder replicas to another server, or if you have not removed all of the public folders in the public folder database, you will receive an error stating that the public folder database cannot be removed because it contains public folder replicas. For detailed instructions about how to remove public folders, see Removing Public Folder Databases.
  3. A message appears asking you to confirm that you want to perform this action. Enter Y.

  4. A warning appears, indicating that the database was removed and reminding you to manually remove the database file. The default location for these files is C:\Program Files\Microsoft\ExchangeServer\Mailbox\<storage group name>\<public folder database name>.

For more information about managing public folders, see Managing Public Folders.

For more information about managing public folder databases, see Managing Public Folder Databases.

For more information about using the Exchange Management Shell, see Using the Exchange Management Shell.

For more information about using the Exchange Management Shell scripts to manage public folders in Exchange 2007, see Scripts for Managing Public Folders in the Exchange Management Shell.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft