A Step-by-Step Guide on Using Get-MailboxRestoreRequest Cmdlet
The Get-MailboxRestoreRequest
cmdlet in Exchange Server and Microsoft 365 allows you to view the status and details of mailbox restore requests that have been submitted to restore deleted or lost items or mailboxes. Here is a step-by-step guide on using the Get-MailboxRestoreRequest
cmdlet:
- Open the Exchange Management Shell (EMS) or connect to the Exchange Online PowerShell.
- Run the
Get-MailboxRestoreRequest
cmdlet followed by the-Status
parameter and the status you want to filter by, such asQueued
,InProgress
, orCompleted
. For example:
Get-MailboxRestoreRequest -Status Completed
This command will return a list of completed mailbox restore requests.
- If you want to filter the results by the name of the mailbox being restored, use the
-Identity
parameter followed by the mailbox name. For example:
Get-MailboxRestoreRequest -Identity john.doe@contoso.com -Status Completed
This command will return a list of completed mailbox restore requests for the mailbox named “john.doe@contoso.com“.
- You can also filter the results by the date range using the
-StartDate
and-EndDate
parameters. For example:
Get-MailboxRestoreRequest -Status Completed -StartDate "01/01/2022" -EndDate "12/31/2022"
This command will return a list of completed mailbox restore requests that were initiated between January 1, 2022, and December 31, 2022.
- If you want to view detailed information about a specific mailbox restore request, use the
-Identity
parameter followed by the name of the restore request. For example:
Get-MailboxRestoreRequest -Identity "Restore Request 1"
This command will return detailed information about the restore request named “Restore Request 1”, including the mailbox being restored, the status, the date and time it was initiated, and any error messages.
Using the Get-MailboxRestoreRequest
cmdlet can help you track and manage mailbox restore requests in Exchange Server and Microsoft 365 environments, allowing you to quickly view the status and details of ongoing and completed restore operations.