From 7ed79e4ebee2f6acf1b01d636fcb66a6fb27c554 Mon Sep 17 00:00:00 2001 From: Jeremy Knight Date: Mon, 4 Nov 2024 16:07:31 -0500 Subject: [PATCH 1/2] Update New-MailboxRestoreRequest.md Added example 3 for restoring the content from an inactive, disconnected, or soft deleted mailbox to an active mailbox in Exchange Online. --- .../exchange/New-MailboxRestoreRequest.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md b/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md index 67474c5f5e..c4539b9ced 100644 --- a/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md +++ b/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md @@ -249,6 +249,19 @@ New-MailboxRestoreRequest -SourceDatabase "MBD01" -SourceStoreMailbox "Tony Smit In on-premises Exchange, this example restores the content of the source mailbox with the DisplayName of Tony Smith on mailbox database MBD01 to the archive mailbox for Tony@contoso.com. +### Example 3 +```powershell +New-MailboxRestoreRequest -SourceMailbox 33948c06-c453-48be-bdb9-08eacd466f81 -TargetMailbox Tony@contoso.com -AllowLegacyDNMismatch +``` + +In Exchange Online, this example restores the content of the inactive, disconnected, or soft deleted source mailbox to the active mailbox for Tony@contoso.com + +The SourceMailbox value is expected to be a MailboxGUID value of an inactive, disconnected, or soft deleted mailbox. + +The TargetMailbox value is expected to be a MailboxGUID or email address of the active, target mailbox. + +The AllowLegacyDNMismatch allows copying data from one mailbox to another in this scenario. + ## PARAMETERS ### -CrossTenantRestore From 7e000fa6040f1d7d342f9f01cd7213d2602375ab Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Mon, 4 Nov 2024 14:07:39 -0800 Subject: [PATCH 2/2] Update New-MailboxRestoreRequest.md --- .../exchange-ps/exchange/New-MailboxRestoreRequest.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md b/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md index c4539b9ced..43a1b13892 100644 --- a/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md +++ b/exchange/exchange-ps/exchange/New-MailboxRestoreRequest.md @@ -254,13 +254,11 @@ In on-premises Exchange, this example restores the content of the source mailbox New-MailboxRestoreRequest -SourceMailbox 33948c06-c453-48be-bdb9-08eacd466f81 -TargetMailbox Tony@contoso.com -AllowLegacyDNMismatch ``` -In Exchange Online, this example restores the content of the inactive, disconnected, or soft deleted source mailbox to the active mailbox for Tony@contoso.com +In Exchange Online, this example restores the content of the inactive, disconnected, or soft deleted source mailbox to the active mailbox for Tony@contoso.com: -The SourceMailbox value is expected to be a MailboxGUID value of an inactive, disconnected, or soft deleted mailbox. - -The TargetMailbox value is expected to be a MailboxGUID or email address of the active, target mailbox. - -The AllowLegacyDNMismatch allows copying data from one mailbox to another in this scenario. +- The SourceMailbox value is the MailboxGUID value of an inactive, disconnected, or soft deleted mailbox. +- The TargetMailbox value is the MailboxGUID or email address of the active target mailbox. +- AllowLegacyDNMismatch allows copying data from one mailbox to another in this scenario. ## PARAMETERS