Examples of New-MailboxRestoreRequest

Андрей Михалевский 2,561 Reputation points

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

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

    1. Use -IncludeFolders #Inbox#/Folder
    2. Use -TargetMailbox Mailbox -TargetRootFolder "RootFolder"

    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.


    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

    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

    I'll check next week. Thank you.