Examples of New-MailboxRestoreRequest

Андрей Михалевский 2,561 Reputation points
2021-05-20T15:47:30.967+00:00

Hi.
Can I ask you for a couple of examples?

  1. How do I recover a specific folder in Inbox or Sent Items?
  2. How can I restore a specific folder in my Inbox or Sent Items folder to a specified folder?
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,236 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Zhengqi Lou-MSFT 8,856 Reputation points Microsoft Vendor
    2021-05-21T01:46:01.553+00:00

    Hi @Андрей Михалевский ,

    1. Use -IncludeFolders #Inbox#/Folder
      98433-image.png
    2. Use -TargetMailbox Mailbox -TargetRootFolder "RootFolder"
      98423-image.png

    I found a tech article that could help you: Restoring a Mailbox from an Exchange Server 2013 Recovery Database
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Regards,
    Lou


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Андрей Михалевский 2,561 Reputation points
    2021-05-21T11:15:49.067+00:00

    Hello. The examples described by the link are not working.

    I have also tried:

    New-MailboxRestoreRequest -SourceDatabase RECDB -SourceStoreMailbox "5617794e-21be-481f-a62a-f5d37139beba" -TargetMailbox Alis -IncludeFolders "#Inbox#/*"

    And other combinations.

    Someone understands this, can give a working example?

    The working way is one: New-MailboxRestoreRequest -SourceDatabase RECDB -SourceStoreMailbox "5617794e-21be-481f-a62a-f5d37139beba" -TargetMailbox mihalevskiy -AllowLegacyDNMismatch

    But for some reason the folders are prefixed with <_0>


  3. Андрей Михалевский 2,561 Reputation points
    2021-05-28T11:11:00.663+00:00

    I'll check next week. Thank you.