How to Start and Stop Mailbox Export Request

Published on
How to Start and Stop Mailbox Export Request

The MailboxExportRequest is a power command in the Microsoft Exchange Server. As the name suggests, admins use it to export mailbox data from MS Exchange Server to a PST file.

Once exported, the PST file can execute several tasks such as archiving, taking backups, or migrating mailbox data to other systems. Thus, it works as an EDB to PST converter and at times carries out imports and exports in Exchange Server as well.

If you don’t want to do this entire manual stuff, a comparably simpler method would be to use Stellar Converter for EDB. It is one of the most reliable EDB to PST converter tools existing in the market. It also facilitates hassle-free exports in Exchange Server.

Right here, we will learn in detail about how to start and stop the MailboxExportRequest followed by other options available with it.

How to Start Mailbox export request

You can start the process of exporting data from a primary mailbox to a PST file by using the New-MailboxExportRequest cmdlet. You can find this cmdlet only in the Mailbox Import Export role. Therefore, to use this command, you will have to add the Mailbox Import Exportrole to a role group, such as the role group of your organization management.

Here is the syntax of this PowerShell Command

New-MailboxExportRequest

   [-Mailbox] <MailboxOrMailUserIdParameter>

   -FilePath <LongPath>

   [-AcceptLargeDataLoss]

   [-AssociatedMessagesCopyOption <FAICopyOption>]

   [-BadItemLimit <Unlimited>]

   [-BatchName <String>]

   [-CompletedRequestAgeLimit <Unlimited>]

   [-Confirm]

   [-ConflictResolutionOption <ConflictResolutionOption>]

   [-ContentFilter <String>]

   [-ContentFilterLanguage <CultureInfo>]

   [-DomainController <Fqdn>]

   [-ExcludeDumpster]

   [-ExcludeFolders <String[]>]

   [-IncludeFolders <String[]>]

   [-InternalFlags <InternalMrsFlag[]>]

   [-IsArchive]

   [-LargeItemLimit <Unlimited>]

   [-MRSServer <Fqdn>]

   [-Name <String>]

   [-Priority <RequestPriority>]

   [-RemoteCredential <PSCredential>]

   [-RemoteHostName <Fqdn>]

   [-SkipMerging <SkippableMergeComponent[]>]

   [-SourceRootFolder <String>]

   [-Suspend]

   [-SuspendComment <String>]

   [-TargetRootFolder <String>]

   [-WhatIf]

   [-WorkloadType <RequestWorkloadType>]

   [<CommonParameters>]

Prerequisites to Run New Mailbox export request in PowerShell

Before you start using Mailbox export request to create a data backup, migrate to another system, or archive mailbox content, you will have to follow some major prerequisites:

  • Execution Permission: Seek permission to execute mailbox export operations. You can go through the Exchange permission documentation of your company to get the specific permission details.       

  • Read Permission: Allow the read permission for the Exchange Trusted Subsystem group on the network share at the storage location of PST files. This is useful when importing PST files.

  • Read/Write Permission: The Exchange Trusted Subsystem group will require both read and permission to export PST files. The permission will let the Exchange retrieve data from specified network share or save data to the same network share.

Using New Mailbox export request

Run the cmdlet New-MailboxExportRequest as given in the example below:

New-MailboxExportRequest -Mailbox Joe -ContentFilter “(Body -like ‘*marketing*’) -and (Received -lt ’05/11/2024′)” -FilePath “\\SERVER01\PSTFileShare\DB_CompanyROI.pst”

Notice the use of the word “marketing” in the message meant for the user ABC received before May 11, 2024.

You can further simplify the export of the mailbox as given in the command below:

New-MailboxExportRequest -Mailbox Joe -FilePath “\\MEETINGROOM01\PSTFileShare\DBA_Recovered.pst”

This command exports the primary email account of Joe to a .pst file stored in the shared folder called PSTFileShare on the MEETINGROOM01 server.

Here, make sure to mention the source and destination path of the mailbox when executing the New-MailboxExportRequest cmdlet.

How to Stop Mailbox export request

In this part of our guide to start and stop the mailbox export request, we will learn how to stop this Exchange Server request. To serve this purpose, you need to identify the particular request and then use the Remove-MailboxExportRequest cmdlet to stop it.

Like earlier, this action also requires you to have the requisite permissions in the Exchange Server and Exchange Online environments. Also, please note that you can use this cmdlet in the on-premises Exchange only.

The remove-MailboxExportRequest cmdlet can remove export requests completed partially or fully. You will need to add the Mailbox Import Export role to the role group of your organization management to run this cmdlet.

Admins use this cmdlet mostly after checking the status of the mailbox export requests by running the Get-MailboxExportRequest cmdlet.

You may remove a specific export request, a completed request, or an ongoing mailbox export request by using various parameters. The syntax below mentions the use of this cmdlet with multiple parameters

Remove-MailboxExportRequest

      [-Identity] <MailboxExportRequestIdParameter>

      [-Force]

      [-Confirm]

      [-DomainController <Fqdn>]

      [-WhatIf]

      [<CommonParameters>]

Remove-MailboxExportRequest

      -RequestGuid <Guid>

      -RequestQueue <DatabaseIdParameter>

      [-Confirm]

      [-DomainController <Fqdn>]

      [-WhatIf]

      [<CommonParameters>]

Start and  Stop the Mailbox export request using EDB to PST converter

If the export request fails to execute your command or gets halted in between, it could adversely affect your Exchange database or mailbox. In any such condition, you can confide in an EDB to PST converter tool. Notably, Stellar Converter for EDB would be an ideal tool in this regard.

This software offers a robust solution to export Exchange mailbox to PST. It also carries out the export of mailbox items online as well as offline Exchange mailbox database files to PST. These include emails, contacts, notes, attachments, and more.

Features of Stellar Converter for EDB           

  • Easy-to-use GUI-based EDB to PST converter
  • Shows progress in real-time
  • Sets you free from using PowerShell Commands
  • Option to export mailboxes to EML, PDF, RTF, MSG, and HTML formats
  • Supports all the Exchange server versions from Exchange 2019 to Exchange 2000 and lower versions
  • Can export mailbox data directly to an Office 365 account or a Live Exchange Server

With all these useful features, this EDB to PST converter tool has its name in the good books of MVPs and Admins.

Conclusion

To start or stop the mailbox export request, you can use various cmdlets in Exchange server. To start the request, you can use New-MailboxExportRequest. Likewise, to stop the request, the cmdlet will be Remove-MailboxExportRequest.

Both these cmdlets are available with various parameters to help you execute the request according to your specific requirements. However, if while executing any of these commands, the request gets stuck up or causes undue delays, it may affect the data contained in the Exchange database or the mailboxes.

A comparably better method would be to use Stellar Converter for EDB, a widely known EDB to PST converter. Recommended by MVPs and admins, it also performs exports in Exchange Server with success. Contact the Stellar Info team today to use it for your organization.

Share this article

Please subscribe to our YouTube Channel for Tech video stories and tutorials if you liked this article. You can also find us on Twitter, Instagram and Facebook or email the editor at [email protected] for advertisement opportunities.

Are you enjoying your time on JBKlutse?

Articles like these are sponsored free for everyone through the support of generous readers just like you. Thanks to their partnership in our mission, we reach more than 50,000 unique users monthly!

Please help us continue to bring the tech narrative to people everywhere through relevant and simple tech news, reviews, buying guides, and more.

Support JBKkutse with a gift today!

Leave a Comment