Offer Offer

News We Recently Launched AD Migrator and AD Reporter.

How to Use PowerShell Remove-MailboxExportRequest Command In Exchange?

  author
Written By Kumar Raj
Anuraag Singh
Approved By Anuraag Singh
Published On August 25th, 2022
Reading Time 5 Minutes Reading

Summary: In this write-up, we will guide users to how to use the remove-mailboxExportRequest cmdlet to remove the partially or entire completed mailbox export request in Microsoft Exchange Server which is executed by using the New-MailboxExportRequest command.

Exchange Administrator and users use this command after the creation of EDB mailbox export request in the Exchange Management Shell or when they check the status via Get-MailboxExportRequest cmdlet.

You can run this remove mailboxexportreequest command in MS Exchange Server 2019 / 2016 / 2013 / 2010 sp1/sp2/sp3. By using this cmdlet users can remove the partially or entire completed Exchange mailbox export request and with this command you can easily cancel the export request which get stuck or need more actions.

How to Use Exchange Remove-MailboxExportRequest PowerShell Cmdlet?

Make sure you meet the following requirement to use this command:

Firstly, IT administrator and users have to assign the Exchange mailbox import export role because this role does not assign to the admin too.

mailbox-import-export-role-powershell-command

The PowerShell Remove-MailboxExportRequest command is only available on-premises Exchange.

Use the Syntax given below to use the cmdlet by using different parameters:

Remove-MailboxExportRequest -Identity “Mailbox_Export_Request_Id_Parameter” -Force -Confirm -DomainController “Fqdn” -WhatIf []
Remove-MailboxExportRequest -RequestGuid “Guid” -RequestQueue “Database_Id_Parameter” -Confirm -DomainController “Fqdn” -WhatIf []

Users can use the various parameters mentioned below that they can use in this command:

1. -Identity

This parameter let users to remove the Exchange mailbox requests.

Example:

Remove-MailboxExportRequest -Identity "Mike\MailboxExport22”

2. -Status

Users can use this switch to remove the InProgress or Completed Exchange database mailbox export requests.

Example:

Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest

3. -Confirm

You can use the switch which specifies that weather user want to see the confirmation prompt or not. By using the -confirm parameter with $False or $True value, users can show or hide the confirmation prompt.

Example:

Remove-MailboxExportRequest -Identity “Mike\MailboxExport22” -Confirm:$true

4. -Force

This switch is used to suppress the warning or confirmation messages. It isn’t necessary to specify any value with this parameter and the given parameter only applies to Microsoft Exchange Server 2016 and 2019.

Remove-MailboxExportRequest -Identity “Mike\MailboxExport22” -Force

5. -DomainController

It is used to write or read data from AD (Active Directory). With the help of this switch users can specify as well as identify the particular domain controller by its FQDN (Fully Qualified Domain Name).

The given command shows the status of complete Exchange mailbox export request which is suspended, completed, or in progress in the table format.

Example:

Remove-MailboxExportRequest -Identity “Mike\MailboxExport22” -DomainController abc.systools.com

6. -RequestGuid

The parameter is used to specify for Exchange mailbox export requests. To find the GUID, users can use the get-mailboxexportrequest command. In this switch users also have to use the -RequestQueue parameter and this command cannot be used with the -Identity switch.

Remove-MailboxExportRequest -RequestQueue DB01 -RequestGuid “enter_guid”

7. -RequestQueue

It specify the request according to the Exchange database, where user want to run the cmdlet and this parameter can be used without the -RequestGuid switch.

Example:

Remove-MailboxExportRequest -RequestQueue EXCHDB00

8. -WhatIf

This switch stimulates the switch of the command and there is no need to specify any value with this. This parameter applies to the MS Exchange 2019 & below versions upto 2010 sp1.

Remove-MailboxExportRequest -Identity “Mike\MailboxExport22” -DomainController abc.systools.com -WhatIf

However, if the Remove-MailboxExportRequest the export request weather it is stuck or In-progress, then users can use the Set-MailboxExportRequest to modify the Exchange mailbox export request. Then also, if the request is unable to store the Exchange database mailboxes to Outlook PST file, in that case, users can use the SysTools Exchange Server Recovery tool as the automated too which easily export multiple offline EDB mailboxes and data items to the PST file in a simplified manner.

Use Best Alternative Method

Exchange Server Recovery Software support various EDB mailboxes such as: disconnected, user, archive, legacy, shared and data items: mails, journals, notes, tasks, calendars, contacts. Users can export all this Exchange database to PST file in bulk without using any PowerShell cmdlet.

Download purchase

This recovery manager for Exchange database utility supports Private and Public Exchange database file. Users can export these both .edb file simultaneously to Outlook data file. It provide an interactive graphical user interface that eases the workload of the users and saves their precious time.

If your Exchange database file is severely damaged or corrupted in that case users can use the Quick and Advance scan mode of this automated tool easily recover and repair EDB file from corruption automatically with no data loss.

For minimal corruption, you can select the Quick scan and for major one click on the Advance scan mode. This option also recovers permanently deleted Exchange database mailboxes & data items from offline/dismounted EDB file. Users can use this mode to recover deleted mailbox after retention period.

The software allows you to easily extract mailbox from EDB file Exchange 2016/2013 and export directly to the Live Exchange Server mailboxes, O365, and HTML, PDF, MBOX, PST, EML, MSG file format. After conversion, the tool auto-creates an export report which saves the success and fail count of exported Exchange data.

multiple export option

Key Features Of Automated Wizard

  1. Support Exchange Database and Streaming Media File
  2. Preview EDB mailboxes data items befor conversion
  3. Repair Exchange mailbox and EDB file from corruption
  4. Preserve original folder hierarchy and keep meta data intact
  5. Date and categories filter option export selective Exchange data items
  6. Option to remove email (SMIME/OpenPGP) encryption from EDB mailboxes in batch
  7. Suitable with all versions of Microsoft Exchange Server, Outlook and Windows OS

Bringing It All Together

Now users have detailed information on how to use the Exchange PowerShell Remove-MailboxExportRequest cmdlet to remove the complete or partially mailbox export requests. In case if the command doesn’t work properly or if the Exchange database file is corrupted then you can use the advanced software that is mentioned above which resolves database corruption Exchange 2010, 2013, 2016 & remove corruption from EDB file and mailboxes without any loss of data. Then after recovery users can easily export the Exchange mailboxes to the Outlook PST from offline EDB file in a hassle freeway.

  author

By Kumar Raj

A versatile writer with the vast knowledge of technology helps to reduce the gap between a user and technology. Provides easy and reliable ways to resolve multiple technical issues, which users encounter in their day-to-day life.