[This topic is in progress.]

Applies to: Exchange Server 2010 SP2

Topic Last Modified: 2011-05-04

Use the Get-RemoveMailbox cmdlet to view information about deleted mailboxes in your organization.

Syntax

Get-RemovedMailbox [-Identity <RemovedMailboxIdParameter>] [-DomainController <Fqdn>] [-Organization <OrganizationIdParameter>] [-ResultSize <Unlimited>]

Detailed Description

If you can view the deleted mailbox using the Get-RemovedMailbox cmdlet, you can recover the deleted mailbox by using the New-Mailbox cmdlet.

Parameters

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support.

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.RemovedMailboxIdParameter

The Identity parameter specifies the removed mailbox. You can use the following values that uniquely identify the removed mailbox:

  • Name

  • Windows Live ID

  • SamAccountName

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support.

The Organization parameter specifies the organization in which you'll perform this action. This parameter doesn't accept wildcard characters, and you must use the exact name of the organization.

ResultSize

Optional

Microsoft.Exchange.Data.Unlimited

The ResultSize parameter specifies the maximum number of results to return. The default value is 500. If you want to return all removed mailboxes, use unlimited for the value of this parameter.

Input Types

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

Return Types

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

Errors

Error Description

 

Examples

EXAMPLE 1

This example displays all the removed mailboxes that are available for recovery in your organization

Copy Code
Get-RemovedMailbox

EXAMPLE 2

This example recovers the mailbox for a deleted account named "Tamara Johnston". The account was deleted without preserving the Windows Live ID, so you must specify a new password value to recover Tamara's account.

Get-RemovedMailbox tjohnston@contoso.edu | New-Mailbox -Name "Tamara Johnston" -Password (ConvertTo-SecureString -String 'Pa$$word1' -AsPlainText -Force)