New-MailboxRestoreRequest Exchange 2010 2013 2016 Tutorial

New-MailboxRestoreRequest Exchange 2010, 2013 and 2016 cmdlet - Guide


What is Exchange New-MailboxRestoreRequest cmdlet?


To restore a mailbox that was soft deleted by using the New-MailboxRestoreRequest Exchange 2010, 2016 or 2013 command is used.  The above command works with disconnected, deleted mailbox and recovers all soft deleted data into main archive mailbox from an exchange server.

There are different syntax and its details for Exchange 2016, 2013 and 2010. All three are explained below with parameter details link. At the end of this description, it's also explained that how the user can remove or disable mailbox.


Exchange 2010 New-MailboxRestoreRequest cmdlet


The Syntax for MailboxRestoreRequest cmdlet as follows:

New-MailboxRestoreRequest -SourceDatabase <DatabaseIdParameter> -SourceStoreMailbox <StoreMailboxIdParameter> -TargetMailbox <MailboxOrMailUserIdParameter> [-AcceptLargeDataLoss <SwitchParameter>] [-AllowLegacyDNMismatch <SwitchParameter>] [-AssociatedMessagesCopyOption <DoNotCopy | MapByMessageClass | Copy>] [-BadItemLimit <Unlimited>] [-BatchName <String>] [-Confirm [<SwitchParameter>]] [-ConflictResolutionOption <KeepSourceItem | KeepLatestItem | KeepAll>] [-DomainController <Fqdn>] [-ExcludeDumpster <SwitchParameter>] [-ExcludeFolders <String[]>] [-IncludeFolders <String[]>] [-MRSServer <Fqdn>] [-Name <String>] [-Priority <Normal | High>] [-SourceRootFolder <String>] [-Suspend <SwitchParameter>] [-SuspendComment <String>] [-TargetIsArchive <SwitchParameter>] [-TargetRootFolder <String>] [-WhatIf [<SwitchParameter>]]


For Exchange 2010 cmdlet parameter details refer here


Exchange 2013 and 2016 New-MailboxRestoreRequest cmdlet


There are four commands syntax that can be used for restore Mailbox. They are as follows:

New-MailboxRestoreRequest -SourceDatabase <DatabaseIdParameter> -SourceStoreMailbox <StoreMailboxIdParameter> <COMMON PARAMETERS>

New-MailboxRestoreRequest -RemoteDatabaseGuid <Guid> -RemoteHostName <Fqdn> -RemoteRestoreType <None | RecoveryDatabase | DisconnectedMailbox | SoftDeletedRecipient> -SourceStoreMailbox <StoreMailboxIdParameter> [-RemoteCredential <PSCredential>] <COMMON PARAMETERS>

New-MailboxRestoreRequest -SourceMailbox <MailboxIdParameter> [-SourceIsArchive <SwitchParameter>] <COMMON PARAMETERS>

Common Parameters for Exchange cmdlet:


COMMON PARAMETERS: -TargetMailbox <MailboxOrMailUserIdParameter> [-AcceptLargeDataLoss <SwitchParameter>] [-AllowLegacyDNMismatch <SwitchParameter>] [-AssociatedMessagesCopyOption <DoNotCopy | MapByMessageClass | Copy>] [-BadItemLimit <Unlimited>] -BatchName <String>] [-CompletedRequestAgeLimit <Unlimited>] [-Confirm [<SwitchParameter>]] [[-ConflictResolutionOption <KeepSourceItem | KeepLatestItem | KeepAll>] [-DomainController <Fqdn>] [-ExcludeDumpster <SwitchParameter>] [-ExcludeFolders <String[]>] [-IncludeFolders <String[]>] [-InternalFlags <InternalMrsFlag[]>] [-LargeItemLimit <Unlimited>] [-Name <String>] [-Priority <Lowest | Lower | Low | Normal | High | Higher | Highest | Emergency>] [-SkipMerging <SkippableMergeComponent[]>] [-SourceRootFolder <String>] [-Suspend <SwitchParameter>] [-SuspendComment <String>] [-TargetIsArchive <SwitchParameter>] [-TargetRootFolder <String>] [-WhatIf [<SwitchParameter>]] [-WorkloadType <None | Local | Onboarding | Offboarding | TenantUpgrade | LoadBalancing | Emergency | RemotePstIngestion | SyncAggregation | RemotePstExport>]


For Exchange 2013 and 2016 parameter details refer here


Note: The above command parameter is described using parameter, its status (required/optional), type and its description.

Detailed Description of New-MailboxRestoreRequest Exchange 2016, 2013 and 2010 cmdlet


Exchange doesn't delete mailbox once it moved, deleted or disconnected. The deleted mailbox exist in Exchange database until New-MailboxRestoreRequest cmdlet is used.

To delete a mailbox user can manually delete it using Remove-StoreMailbox cmdlet. For automatic deletion, it stays in a database for certain time depend on exchange version.

Once Remove-Mailbox or Disable-Mailbox executes, a deleted mailbox marked as disabled after the short period.

To mark the mailbox as disabled and update Active Directory in Microsoft Exchange Information storage run Clean-MailboxDatabase cmdlet.


To see a status of disconnected mailbox run Get-MalboxStatisics cmdlet and see DiconnectReason section value as Disabled/Enabled.


Examples for New-MailboxRestoreRequest Exchange 2013, 2010 and 2016 cmdlet


The cmdlet given below provide details for DisplayName, LegacyDN, MailboxGuid and DisconnectReason for all Mailbox that have DisconnectReason section as SoftDeleted or Disabled.


Get-MailboxStatistics -Database MBD01 | Where { $_.DisconnectReason -eq "SoftDeleted" -or $_.DisconnectReason -eq "Disabled" } | Format-List LegacyDN, DisplayName, MailboxGUID, DisconnectReason


The following example restores content of source mailbox to New-MailboxRestoreRequest archive mailbox

DisplayName(Source Mailbox): Jay
Mailbox Database: MBD02
Archive Mailbox: jay@abc.com

New-MaiboxRestoreRequest -SourceDatabase "MBD02" -SourceStoreMailbox "Jay" -TargetMailbox jay@abc.com -TargetIsArchive

The following example given below restore mailbox with given parameters with New-MailboxRestoreRequest exchange 2010 target folder or mailbox:

MailboxGUID: 1d20844f-fd54-4643-93f6-e249f7326ddd
Mailbox Database: MBD002
Target Mailbox: abcde


New-MailboxRestoreRequest -SourceDatabase "MBD002" -SourceStoreMailbox 1d20844f-fd54-4643-93f6-e249f7326ddd -TargetMailbox abcde


Alternate Method Except New-MailboxRestoreRequest Exchange 2016, 2010 and 2016


The above method is applicable for soft or temporary delete exchange mailbox. If a user has EDB file then its data can be recovered using Exchange EDB Recovery Software. This software also provides multiple format export functionality.

Comments

  1. Thanks for this information.. EdbMails EDB to PST Converter Tool is an effective & reliable tool provides impeccable recovery. This tool recover & repair all damaged .edb files and then transfer them into usable format that is PST. It supports all versions of Windows and restore PST files in your location. It restores all files in original formats such as HTML, Text, RTF, etc. It is preview of all damaged or corrupted EDB files before restoration. Free availability of trial version with the help of you can easily understand the complete procedure of recovery.


    For more information visit: Convert EDB to PST

    ReplyDelete
  2. for more info visit this link https://www.stelladatarecovery.com/exchange-edb-to-pst-converter.html

    ReplyDelete

Post a Comment

Popular posts from this blog

Fix Error 1022 JET errDiskIO in Microsoft Exchange Server