Export (0) Print
Expand All

Get-RemovedMailbox

Exchange Online
 

Applies to: Exchange Online

Topic Last Modified: 2013-01-18

This cmdlet is available only in the cloud-based service.

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

For information about the parameter sets in the Syntax section below, see Syntax.

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

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

Get-RemovedMailbox

This example recovers the mailbox for the deleted account Kim Akers. The account was deleted without preserving the Microsoft account (formerly known as a Windows Live ID), so you must specify a new password value to recover Kim's account.

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

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

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Recipient provisioning permissions" section in the Recipients permissions topic.

 

Parameter Required Type Description

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

This parameter is reserved for internal Microsoft use.

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

  • Microsoft account (formerly known as a Windows Live ID)

  • SamAccountName

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

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.

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.

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.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft