Get-MailboxExportRequest Cmdlet – What It Is & How You Can Use It
Overview: In this write-up, you will get a comprehensive guide on what Get-MailboxExportRequest actually is and what are its parameters. Not just that, here we will also give you some examples of how you can use the cmdlet using various parameters.
The New-MailboxExportRequest cmdlet was a replacement for ExMerge for Exchange offered by Microsoft. The cmdlet’s functionality helps users in exporting their crucial data from Exchange Server to their local system. However, the command does not display any real-time status of the created export requests.
Hence, a requirement for such cmdlet or tool was created when the admins were unable to track the real-time status of the export request. Here comes the use of Get-MailboxExportRequest cmdlet in Exchange Management Shell. Using this command helps admins or users in finding out if the process is completed, requires any other additional step, or is stuck.
After knowing all this, let us now discuss how you can use the Get-MailboxExportRequest cmdlet in Exchange Management Shell.
How You Can Use Get-MailboxExportRequest in a Smart Way
You can use the below-mentioned syntax to get a detailed status of the export request.
The above cmdlet will list all the export requests created in the Exchange Management Shell. Furthermore, there are a number of filters as well to get only desired information from the export status.
We have discussed a few examples of the parameters that you can use with Get-MailboxExportRequest.
1. -Identity
This parameter is helpful when you want to get the status of an export request that has an identity assigned to it. The assigned identity is assigned by the user who is creating the export request.
Get-MailboxExportRequest -Identity “Jaspreet\DB01toPST”
This command will provide you with the status of the ongoing export request that has the identity “Jaspreet\DB01toPST”. However, you cannot use this parameter with Mailbox, Name, BatchName, Status, Suspend, and HighPriority.
Supported Exchange Versions: Exchange Server 2010, 2013, 2016, and 2019.
2. -Mailbox
If you want to filter the results based on the source mailbox i.e., the mailbox from where the data is being exported, then this parameter is for you.
Get-MailboxExportRequest -Mailbox MailboxIdentityName
This parameter will provide you with the name, mailbox, source, and the status of the created export requests. This parameter can’t be used with MailboxOrMailUserIdParameter.
Supported Exchange Versions: Exchange Server 2010 and 2013.
3. -Status
This parameter filters the results on the basis of the status. The values that you can use with this parameter are:
Get-MailboxExportRequest -Status InProgress -Database EDBX1
The aforementioned command will provide the status of export requests created to export data from EDBX1 database. You can use the following values along with Status parameter to get desired results:
- AutoSuspended
- Completed
- CompletedWithWarning
- CompletionInProgress
- Failed
- InProgress
- Queued
- Retrying
- Suspended
- Synced
Supported Exchange Versions: Exchange Server 2010, 2013, 2016, 2019.
4. -BatchName
The BatchName parameter mentions the name assigned to a batch export request. This parameter can’t be used with the Identity parameter.
Get-MailboxExportRequest -BatchName “Batch 1” -Status Completed
Supported Exchange Versions: Exchange Server 2010, 2013, 2016, 2019.
Perfect Alternative for Get-MailboxExportRequest Cmdlet
Although Microsoft provides a separate command to get the status of the ongoing export requests. But it becomes cumbersome for users to first create an export request and then run another command to check the status of the process. Thus, to make your job simple, we have come up with an advanced solution that comes with an interactive user interface.
You just need to assign the required roles and permissions to start exporting Exchange mailboxes into PST. Once you have shortlisted the mailboxes, you just need to choose the export option and initiate the export process. Once it is started, the software will display the real-time process of the job. This dashboard makes it easy for users / administrators to track their progress.
You can download this utility for free and have a look at all the features in the following video.
Conclusion
Now users have the entire information on how to use the Get-MailboxExportRequest cmdlet to view the detailed status and progress of the mailbox export request command. Users need to manually insert the given cmdlet to view the progress because by default the Exchange Management Shell does not show the running status of the export request.
To avoid all this trouble, complexity, and technicality, you can use the advanced software mentioned in the above section. The software makes the whole process quick and efficient.