Views:
An Exchange discovery mailbox is necessary to store the mailbox search result messages. Administrators can use the following Exchange Management Shell Commands to configure the discovery mailbox:

Discovery Mailbox Commands

Command
Description
Get-Mailbox -Filter {RecipientTypeDetails -eq "DiscoveryMailbox"}
Returns all discovery mailboxes that exist on the Exchange server
New-Mailbox “NEW_DISCOVERY_MAILBOX_NAME” -Discovery -database "MAILBOX_DATABASE_NAME“
Creates a new discovery mailbox named "NEW_DISCOVERY_MAILBOX_NAME" in the database named "MAILBOX_DATABASE_NAME"
Add-MailboxPermission -Identity “DISCOVERY_MAILBOX_NAME” -user "Discovery Management" -AccessRights FullAccess
Assigns the Exchange Discovery Management group full access permission to the "DISCOVERY_MAILBOX_NAME"