Sdílet prostřednictvím


How to Remove a Mailbox

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

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

This topic explains how to use the Exchange Management Console and the Exchange Management Shell to disconnect a mailbox from its associated user account and remove the user from the Active Directory directory service. You can use the Exchange Management Shell to remove the mailbox.

Before You Begin

To perform this procedure, the account you use must be delegated the following:

  • Exchange Recipient Administrator role

  • Account Operator role for the applicable Active Directory containers

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

Procedure

To use the Exchange Management Console to remove a mailbox

  1. Start the Exchange Management Console.

  2. In the console tree, expand Recipient Configuration, and then click Mailbox.

  3. In the result pane, select the mailbox you want to remove.

  4. In the action pane, under the name of the mailbox, click Remove.

  5. A warning appears asking, Are you sure you want to remove 'mailbox name'? Click Yes to remove the mailbox.

To use the Exchange Management Shell to remove a mailbox

  • To disconnect the mailbox for user "john" from John's user account and also delete the user account, run the following command:

    Remove-Mailbox -Identity contoso\john
    
  • To delete the mailbox and the user account for John, run the following command:

    Remove-Mailbox -Identity contoso\john -Permanent
    

For detailed syntax and parameter information, see the Remove-Mailbox reference topic.

For More Information