Export Exchange Mailbox to PST with PowerShell cmdlet

The description will guide you how you can export exchange 2016 mailbox to PST using PowerShell cmdlet New-MailboxExportRequest. Follow a step by step instructions to migrate all mailbox to PST in a simple way. 


Prerequisites to Export Exchange Mailbox to PST with PowerShell cmdlet


  1. Add Mailbox Import Role to a role group. 
  2. Know how to use EMS or New-MailboxExportRequest PowerShell script.
  3. Grant following permissions to group Exchange Trusted Subsystem for the following purpose:
  • To Import PST file: Read Permission.
  • To Save Exported PST file: Read/Write Permission



Syntax for New-MailboxExportRequest Powershell Command


There syntax given below allow user to  export mailbox from Exchange Mailbox to PST. The description of above syntax is give below:

Syntax 1:

New-MailboxExportRequest -FilePath <LongPath> -Mailbox <MailboxOrMailUserIdParameter> [-AssociatedMessagesCopyOption <DoNotCopy | MapByMessageClass | Copy>] [-ConflictResolutionOption <KeepSourceItem | KeepLatestItem | KeepAll | UpdateFromSource | ForceCopy>] [-ContentFilter <String>] [-ContentFilterLanguage <CultureInfo>] [-ExcludeDumpster <SwitchParameter>] [-ExcludeFolders <String[]>] [-IncludeFolders <String[]>] [-IsArchive <SwitchParameter>] [-RemoteCredential <PSCredential>] [-RemoteHostName <Fqdn>] [-SourceRootFolder <String>] [-TargetRootFolder <String>] <COMMON PARAMETERS>


Syntax 2:

New-MailboxExportRequest -ComplianceStorePath <String> -ContentFilter <String> -Mailbox <MailboxOrMailUserIdParameter> -RemoteCredential <PSCredential> [-ContentFilterLanguage <CultureInfo>] [-IsArchive <SwitchParameter>] [-PreferredMessageFormat <Default | Mime>] <COMMON PARAMETERS>


Syntax 3:

COMMON PARAMETERS: [-AcceptLargeDataLoss <SwitchParameter>] [-BadItemLimit <Unlimited>] [-BatchName <String>] [-CompletedRequestAgeLimit <Unlimited>] [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-InternalFlags <InternalMrsFlag[]>] [-LargeItemLimit <Unlimited>] [-Name <String>] [-Priority <Lowest | Lower | Low | Normal | High | Higher | Highest | Emergency>] [-RequestExpiryInterval <Unlimited>] [-SkipMerging <SkippableMergeComponent[]>] [-Suspend <SwitchParameter>] [-SuspendComment <String>] [-WhatIf [<SwitchParameter>]] [-WorkloadType <None | Local | Onboarding | Offboarding | TenantUpgrade | LoadBalancing | Emergency | RemotePstIngestion | SyncAggregation | RemotePstExport | XO1Migration | CrossResourceForest>]


Note: The above syntax consists of two things the Parameter and Exchange Powershell Command. All parameters mentioned in < > require parameters from EMS command before it.  Follow examples given below that run and Export Exchange Mailbox to PST with Powershell.

Example to Migrate Exchange to PST using EMS


Example 1:

Export AA1 archive to .pst file on shared folder ShareFile on Server001

Primary Mailbox: AA1
PST file Name:  A1_Recovered
Folder Name: ShareFile
Server Name: Server001
PowerShell Command:

New-MailboxExportRequest -Mailbox A1 -FilePath "\\SERVER001\ShareFile\A1_Recovered.pst"


Example 2:

Export AA2 archive to .pst file on shared folder ShareFile on Server002

Primary Mailbox: AA2
PST file Name:  A2_archive.pst
Folder Name: ShareFile
Server Name: Server002
Poweshell Command:

New-MailboxExportRequest -Mailbox A2 -FilePath "\\SERVER001\ShareFile\A2_Archive.pst"


Conclusion

The above example allows the user to Export Exchange Mailbox to PST with Powershell. But this method works for all those mailboxes that are not corrupt. If the user wants to recover damaged EDB files, they can use Convert EDB to PST to migrate files to outlook or any other email client.   

Comments

  1. Excellent write up on manual methods to convert exchange mailboxes to PST! In my limited experience, however, I’ve found out that to Convert edb to pst - EdbMails is the best option as it can handle most exchange recovery tasks gracefully. It supports export of mailboxes to PSTs and also has an extensive range of filtering options. It is a forensic recovery that can extract most data from even corrupt or inaccessible exchange databases.It supports public, private folder recovery along with migration to Live exchange and Office 365. Archive mailbox migration is also supported by edbmails

    ReplyDelete
  2. EDB to PST tool to recover corrupt or damaged Exchange EDB files and fix exchange server mailbox issue like Jet engine error, Software/hardware disputes, Dirty Shutdown Error, Log File error without any problem by exchange recovery application. It is most effective solution for exchange server users. Read more.. https://softcart.wordpress.com/edb-to-pst-converter/ or
    https://www.mozesoft.com/emailmigration/edb-to-pst-converter.html

    ReplyDelete
  3. Using the power shell command to make the recovery of Exchange mailbox it is very difficult for a new user so eSoftTools recently introduced a software name as the Exchange EDB to PST Converter Software which is capable to recover and export all the Exchange EDB file inner items such as- emails, contacts, chats, tasks, notes, appointments, and more to multiple file formats including- PST, EML, EMLX, MSG, and HTML. Read More

    ReplyDelete
  4. Simply, you can install and use the most helpful EDB Converter Software that made to repair corrupt EDB file and convert exchange mailbox into PST, EML, MSG and HTML. By taking the assistance of SysInspire EDB to PST Converter tool. Also, you can convert specific single and multiple messages of EDB File to PST Outlook file with emails, attachments, contacts, calendar, sent items, deleted items and other all folders.

    Get more info:- https://www.sysinspire.com/edb-to-pst-converter/

    ReplyDelete
  5. EOSIO is a highly performant, open-source blockchain platform launched in 2018 by Block.one. EOSIO offers a fast, reliable, and highly secure platform for blockchain development. EOSIO allows you to deploy smart contracts on its existing networks. Freelance blockchain developers can also build their own EOSIO networks and deploy smart contracts on them. Check freelancing sites like Eiliana.com, where clients post various blockchain development projects.

    ReplyDelete

Post a Comment

Popular posts from this blog

New-MailboxRestoreRequest Exchange 2010 2013 2016 Tutorial

Fix Error 1022 JET errDiskIO in Microsoft Exchange Server