How to Import and Export Mailboxes using PST Files in SBS 2011 Standard
[Today’s post comes to us courtesy of Gagan Mehra and Wayne Gordon McIntyre from Commercial Technical Support]
There might be instances where an Exchange Administrator will need to export the contents of individual mailboxes to offline files (PST). With Exchange 2010 SP1 we have new set of PowerShell commandlets to export and import mailboxes to and from PST files. Exchange 2010 SP1 makes this much simpler by having its own PST reader and writer. If you recall from SBS 2008 there were a large number of requirements needed to be able to export/import PSTs. You can view the process of exporting/importing PSTS on SBS 2008 from the following blog post.
Important: If you use PSTs to migrate mailboxes from one Exchange server to another instead of using a mailbox move request, you will need to read the following blogpost to correct a certain issue with replying to old email: https://blogs.technet.com/b/sbs/archive/2009/05/21/cannot-reply-to-old-emails-or-modify-old-calendar-items-after-pst-mail-migration.aspx
Export/Import Requirements
By default, no user is allowed to Import/Export the mailboxes from Exchange PowerShell. In order to view or run Import/Export Cmdlets in Exchange PowerShell, you need to be given explicit permission.
In order to provide a user with permission to Import and Export, you need to run the following command from Exchange Management Shell. You can also assign this permission to a group if necessary using the -Group option:
New-ManagementRoleAssignment –Role “mailbox import export” –User “Admin”
Once the above command is run, close and reopen the Exchange Shell as administrator. The Import and Export Cmdlets will now be available to the Admin user. You can now Export and Import mailboxes from Exchange Management Shell using the new MailboxExportRequest and MailboxImportRequest cmdlets.
Exporting Data from an Exchange 2010 SP1 Mailbox to PST File
With Exchange 2010 SP1, exporting a mailbox will be done by using “New-MailboxExportRequest” Cmdlet.
In order to Export the entire mailbox content to a PST file we need to run the following command:
New-MailboxExportRequest –Mailbox user –FilePath “\\<servername>\Sharename\user.pst”
Note that the -Mailbox and -FilePath parameters are the only required parameters of the cmdlet. Additionally the -FilePath parameter only accepts a UNC path (\\servername\share).
The “New-MailboxExportRequest” will trigger the export of the mailbox to a PST file and queue the request. In order to confirm the status of the mailbox export request we can run:
Get-MailboxExportRequest
In this case the mailbox export has completed successfully. If you wish to remove the completed mailbox export requests from the queue you can run:
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest
Exchange 2010 SP1 also provides you the granularity of Exporting particular data from a Mailbox by using the –IncludeFolders parameter. For Example, if you want to export only the Inbox of a mailbox then you can use –IncludeFolders parameter specifying the inbox folder..
For exporting only the inbox of a mailbox you have to use following command:
New-MailboxExportRequest –Mailbox “user” –FilePath “\\<servername\sharename\user.pst> -IncludeFolders “#Inbox#”
For exporting the messages that contain the words “company” and “profit” on the body of the message for user admin received before January 1, 2011 use the following command:
New-mailboxexportRequest –Mailbox Admin –ContentFilter {(body –like “*company*”) –and {body –like “*profit*”) –and (Received –lt “01/01/2011”)} –FilePath “\\<Servername>\PSTFileShare\Admin_CompanyProfits.pst”
These and many other examples of using this cmdlet can be found on the following Technet page or by using Get-Help New-MailboxExportRequest -Full
https://technet.microsoft.com/en-us/library/ff607299.aspx
Bulk Export of Mailboxes
In a lot of cases you will probably want to export all the mailboxes at once to PST. In order to do this you can run the following command to export all mailboxes to a pre-created share named "PST":
$Export = get-mailbox; $Export|%{$_|New-MailboxExportRequest -FilePath \\localhost\PST\$($_.alias).pst}
Importing Data from a PST File to Mailbox
Importing a PST file to a mailbox is very similar to the way you export mailbox to a PST file. You need to use the following command
New-MailboxImportRequest –Mailbox Admin –FilePath \\<Servername>\PSTFileShare\Admin.pst
Note: if you already have some data in the mailbox to which you are importing then the above command will merge the data with it.
To see the whether the Import has been completed you need to run the following command
Get-MailboxImportRequest
If you want to Import the PST file into a specified folder under the mailbox then we can use the following command with a –TargetRootFolder parameter which will create a specific folder and import all the data into it.
New-MailboxImportRequest –Mailbox Admin –FilePath “\\<server name>\PSTFileShare\admin.pst” -TargetRootFolder “RecoveredFiles”
Bulk Import of Mailboxes
Bulk Import also works very similar to the bulk Export. To import all of the PST files into their respective mailboxes run the following command:
$Import = get-mailbox; $Import|%{$_|New-MailboxImportRequest -FilePath "\\localhost\PST\$($_.alias).pst"}
*note: this also assumes that you originally exported the mailboxes using their alias as the pst file name.
Note: By Default, the import checks for the duplication of items and does not copy the data from the .pst file into the mailbox of matching items exists in the target mailbox.
Import and Export Request Statistics
With large mailboxes, the import and export requests may take a while to complete. If you need to view the status of an import or export request you can use the following commands (Test is the mailbox alias):
Get-MailboxExportRequestStatistics -Identity Test\MailboxExport
Or
Get-MailboxImportRequest -Identity Test\MailboxImport
More examples and detailed information can be found on the technet links below:
https://technet.microsoft.com/en-us/library/ff607427.aspx
https://technet.microsoft.com/en-us/library/ff607297.aspx
Comments
- Anonymous
January 01, 2003
Exchange Server Recovery Software is a excellent set of features which can easily help to recover corrupt Exchange EDB to Outlook PST file without facing any obstacles.
Download:- http://www.exchangeserver.pcrecoverytools.com/ - Anonymous
January 01, 2003
Exchange edb to pst converter software is most effective and capable application that easily convert edb to pst format. Export corrupt exchange edb to usable outlook pst format by this tool.http://www.edbtopstconvert.softwaredatarecovery.net/ - Anonymous
January 01, 2003
An advance and effective third party edb to pst converter tool can easily convert edb to outlook pst format with email metadata such as To, From, Cc, Bcc and Subject. To know more detailhttp://www.convert.edbtopstfile.net/ - Anonymous
January 01, 2003
Really a very fantastic approach !
In my work-station, due to not much familiar with PS usage, I use this automated application(http://www.exchangemailboxtopst.org/) to export/import mailbox items into PST format. This tool make my job much easier that provide the option to export or import only required mailbox items by selecting them as per need. - Anonymous
January 01, 2003
Highly advance EDB to PST Converter which is most powerful software for recovery your corrupt EDB file data. It safely recovers all data from Exchange EDB file and convert EDB to PST with all such individual folders-inbox, outbox, journals, contacts, tasks, notes, calendars, sent items etc.
So download: http://www.filesrecoverytools.com/edb-to-pst-converter.html - Anonymous
January 01, 2003
Exchange EDB to PST converter software is available to repair Exchange EDB file & Exchange convert EDB to PST to read Exchange database completely. This software is proficient for repairing damaged Exchange EDB file & export Exchange EDB to PST file with whole emails and its related properties. It works on all EDB file version.
Read More:- http://www.recoverfilesdata.com/exchange-edb-pst-converter.html - Anonymous
January 09, 2014
Pingback from Siamo geek » Salvare in un PST le singole cartelle di Exchange - Anonymous
March 26, 2014
Here are the top Microsoft Support solutions for the most common issues experienced when using Microsoft - Anonymous
July 21, 2014
Here are the top Microsoft Support solutions for the most common issues experienced when using Windows - Anonymous
July 21, 2014
Here are the top Microsoft Support solutions for the most common issues experienced when using Windows - Anonymous
October 02, 2014
Thanks for sharing the helpful writes up !
I just want to share a third party EDB to PST conversion tool to fix corrupted Exchange mailboxes and save them as .pst files:http://www.recover-computerdata.com/edb-pst-converter.html
It's really very helpful when Export_Mailbox or other inbuilt utilities do not work. With the help of this advance utility, we successfully exported 15000+ mailboxes into .pst files easily !
Hope it will be helpful to those who are in need.
Regards,
Larry - Anonymous
November 26, 2014
However I tried Exchange mailbox import/export using software like http://www.stellarservertools.com/extract-exchange-mailbox.php , but seems there are few other ways too for the same. Harder to follow for a non techie Exchange user like me, but will check to verify whether it really works - Anonymous
January 04, 2015
Exchange EDB to PST export software conveniently extract all Exchange emails and folders with complete database from inaccessible Exchange server for Exchange EDB conversion into PST file format. MS Exchange EDB file converter program is capable to remove errors or bugs from EDB file successfully and switch EDB to PST with whole Exchange mailbox data.
Read More
http://www.recoverpublicfolderedb.exchangedatabaserecovery.biz - Anonymous
January 28, 2015
Thanks for sharing such a great information regarding Exchange server. When I faced the situation of corrupt EDB File , then Microsoft EDB to PST Conversion Tool helps me and repair corrupt EDB & convert it into PST format. Visit the link for complete info: http://securasoft.com/edb-to-pst/ - Anonymous
March 01, 2015
Most affordable and successive Extract Exchange EDB to PST software has good potential to rectify corruption or bugs of Exchange EDB file to completely extract Exchange mailbox data from EDB file into PST file. This Export EDB to PST tool serves simple and secure path to import and export Exchange mailbox data into new workable PST file without any harm.
For More Info : https://www.drupal.org/node/2419835 - Anonymous
March 13, 2015
EDB to PST Converter is perfect solution for convert and recover edb file to pst file. It performs email conversion in a very safe mode, i.e. without causing any harm to the selected files.
http://www.purchase-software.org/email-conversion/edb-to-pst.html - Anonymous
March 16, 2015
EDB to PST converter tool is an advance tool thorough which user can easily repair and recover corrupt or unusable EDB file from MS exchange server and convert EDB file to PST file. It quickly migrate Exchange mailbox to PST, EML, MSG, Text, RTF and HTML file format. EDB file conversion software smoothly access your EDB file and restore every data from EDB file to PST file without making any changes.
Read more: http://www.repairexchange.org - Anonymous
June 17, 2015
Get this efficient Exchange EDB to PST conversion tool which has good potential to recover damaged Exchange EDB file into healthy PST file with all emails Meta data in well structure. It has excellent and successive path to appropriately convert EDB to PST file without any harm Exchange attachments.
Read More :- http://www.edbtopst-converter.com/ - Anonymous
June 18, 2015
Highly advance EDB to PST Converter which is most powerful software for recovery your corrupt EDB file data. It safely recovers all data from Exchange EDB file and convert EDB to PST with all such individual folders-inbox, outbox, journals, contacts, tasks, notes, calendars, sent items etc.
So download :- http://www.filesrepairtool.com/edb-to-pst-converter.html - Anonymous
June 19, 2015
Use simple & secure EDB to PST converter software helps you to convert EDB to PST file format with original message format txt, rtf and html. By this EDB file to PST conversion software you can export EDB to PST with proper email metadata- to, cc, bcc, date, time, subject etc. For more info about software visit here:- http://www.mannatsoftware.com/kernel-edb-to-pst-converter.html - Anonymous
July 05, 2015
Try third party Exchange Server recovery software and simply recovers and migrates EDB file to PST. This software also recovered EDB files to Live Exchange Server and Office 365. Read more and free download click here :http://exchangedatarecoverytools.blogspot.com - Anonymous
July 05, 2015
Try third party Exchange Server recovery software and simply recovers and migrates EDB file to PST. This software also recovered EDB files to Live Exchange Server and Office 365. Read more and free download click here :http://exchangedatarecoverytools.blogspot.com - Anonymous
August 09, 2015
Get more effective safe and secure software, you can use excellent edb to pst converter software. This software easy to recover corruption issue, such as unexpected misshaping like- Jet engine error, Log files error, database corruption, Synchronizing error and system shutdown and etc. To know more detail click here - http://www.exchangeserverrepair.org - Anonymous
September 06, 2015
http://www.androidbuddy.net/2015/07/Xender-Download-app-free.html - Anonymous
October 07, 2015
Are you unable to migrate EDB to PST mails then take help from this superb EDB to PST converter software to get back entire Exchange data from corrupt or damaged exchange server. EDB to PST conversion software is most reliable and powerful tool which smartly recover data from Exchange EDB file and convert Exchange EDB file into new working PST format in well-manner.
Read more: http://www.nucleustechnologies.com/Exchange-Server-Data-Recovery.html - Anonymous
October 13, 2015
Really a useful article for those who work on powershell. But I always avoid executing powershell scripts to Export & Import mailboxes as these are time consuming and there is no surety of 100% data migration. So, I prefer professional EDB converter - Stellar EDB to PST Converter. This tool has always exported the mailbox items to PST in a timely manner without causing any data loss and moreover you can even export the mailboxes directly to live exchange server as well with a few clicks. To know more about this useful utility, visit http://www.stellarinfo.com/email-repair/edb-pst-converter.php - Anonymous
October 19, 2015
http://patelwebservices.com/2015/09/13/xender-download-free-for-android-pc/ - Anonymous
November 15, 2015
How to download :-
1. Go to this website :- http://hotstarappfreedownload.co.in/hotstar-app-for-pc-windows/
2. DOwnload Bluestacks
3. Done - Anonymous
December 02, 2015
The comment has been removed - Anonymous
December 11, 2015
Every software is here to play whatsapp -- http://www.appsoppc.nl/whatsapp-op-pc/ --- - Anonymous
January 07, 2016
http://www.happynewyear2016wishesimagessms.com/hindu-festival-2016/
http://www.happynewyear2016wishesimagessms.com/lohri-pics-lohri-sms-lohri-wallpapers/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-images/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-quotes/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-wishes/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-wallpaper/
http://www.happynewyear2016wishesimagessms.com/lohri-greetings/
http://www.happynewyear2016wishesimagessms.com/lohri-images/
http://www.happynewyear2016wishesimagessms.com/lohri-songs/
http://www.happynewyear2016wishesimagessms.com/lohri-wishes/
http://www.happynewyear2016wishesimagessms.com/lohri-festival/
http://www.happynewyear2016wishesimagessms.com/happy-lohri-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/lohri-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/lohri-the-bonfire-festival/
http://www.happynewyear2016wishesimagessms.com/up-helly-aa-event-in-scotland/
http://www.happynewyear2016wishesimagessms.com/dinagyang-festival/
http://www.happynewyear2016wishesimagessms.com/sundance-film-festival-2016/
http://www.happynewyear2016wishesimagessms.com/wwe-in-india-wwe-live-event-in-new-delhi/
http://www.happynewyear2016wishesimagessms.com/lohri-wishes-for-friends-family/
http://www.happynewyear2016wishesimagessms.com/cowboy-poetry/
http://www.happynewyear2016wishesimagessms.com/ati-atihan-festival-full-information/
http://www.happynewyear2016wishesimagessms.com/holy-ship-2016/
http://www.happynewyear2016wishesimagessms.com/things-to-do-in-banff-town-canada/
http://www.happynewyear2016wishesimagessms.com/rainbow-serpent-festival/
http://www.happynewyear2016wishesimagessms.com/sundance-film-festival-winners/
http://www.happynewyear2016wishesimagessms.com/junkanoo-parade/
http://www.happynewyear2016wishesimagessms.com/hogmanay-2016/
http://www.happynewyear2016wishesimagessms.com/ice-sculpture-snow-sculpture-festival/
http://www.happynewyear2016wishesimagessms.com/carnevale-di-venezia/
http://www.happynewyear2016wishesimagessms.com/bpm-festival-what-bpm-festival-is/
http://www.happynewyear2016wishesimagessms.com/thaipusam-thaipusam-is-a-hindu-festival/
http://www.happynewyear2016wishesimagessms.com/holy-ship-unveils-massive-lineups-for-2016-cruises/
http://www.happynewyear2016wishesimagessms.com/quebec-winter-carnival/
http://www.happynewyear2016wishesimagessms.com/jam-cruise/
http://www.happynewyear2016wishesimagessms.com/things-to-do-in-edinburgh/
http://www.happynewyear2016wishesimagessms.com/harbin-ice-festival/
http://www.happynewyear2016wishesimagessms.com/the-sundance-film-festival-a-program-of-the-sundance-institute/ - Anonymous
January 07, 2016
http://www.republicdayimagesi.com/republic-day-songs/
http://www.republicdayimagesi.com/republic-day-status-republic-day-wallpaper/
http://www.republicdayimagesi.com/republic-day-information-republic-day-photos/
http://www.republicdayimagesi.com/republic-day-pictures-republic-day-pics/
http://www.republicdayimagesi.com/republic-day-messages-republic-day-sms/
http://www.republicdayimagesi.com/republic-day-in-hindi/
http://www.republicdayimagesi.com/essay-on-republic-day/
http://www.republicdayimagesi.com/what-is-republic-day/
http://www.republicdayimagesi.com/republic-day-wishes/
http://www.republicdayimagesi.com/speech-on-republic-day-in-hindi-speech-for-republic-day/
http://www.republicdayimagesi.com/republic-day-speech-in-hindi/
http://www.republicdayimagesi.com/republic-day-image/
http://www.republicdayimagesi.com/india-republic-day/
http://www.republicdayimagesi.com/republic-day-quotes/
http://www.republicdayimagesi.com/images-of-republic-day-pics-of-republic-day/
http://www.republicdayimagesi.com/speech-on-republic-day/
http://www.republicdayimagesi.com/republic-day-2016/
http://www.republicdayimagesi.com/republic-day-india/
http://www.republicdayimagesi.com/republic-day-speech/
http://www.republicdayimagesi.com/republic-day-images/
http://www.republicdayimagesi.com/happy-republic-day/
http://www.republicdayimagesi.com/republic-day/
http://www.republicdayi.com/republic-day-songs/
http://www.republicdayi.com/republic-day-status-republic-day-wallpaper/
http://www.republicdayi.com/republic-day-information-republic-day-photos/
http://www.republicdayi.com/republic-day-pictures-republic-day-pics/
http://www.republicdayi.com/republic-day-messages-republic-day-sms/
http://www.republicdayi.com/speech-on-republic-day-in-hindi-speech-for-republic-day/
http://www.republicdayi.com/republic-day-in-hindi/
http://www.republicdayi.com/essay-on-republic-day/
http://www.republicdayi.com/what-is-republic-day/
http://www.republicdayi.com/republic-day-wishes/
http://www.republicdayi.com/republic-day-speech-in-hindi/
http://www.republicdayi.com/republic-day-image/
http://www.republicdayi.com/india-republic-day/
http://www.republicdayi.com/republic-day-quotes/
http://www.republicdayi.com/images-of-republic-day/
http://www.republicdayi.com/speech-on-republic-day/
http://www.republicdayi.com/republic-day-2016/
http://www.republicdayi.com/republic-day-india/
http://www.republicdayi.com/republic-day-speech/
http://www.republicdayi.com/republic-day-images/
http://www.republicdayi.com/happy-republic-day/
http://www.republicdayi.com/republic-day/ - Anonymous
January 07, 2016
http://www.happylohrii.com/lohri-pics-lohri-sms-lohri-wallpapers/
http://www.happylohrii.com/happy-lohri-images/
http://www.happylohrii.com/hindu-festival-2016/
http://www.happylohrii.com/happy-lohri-quotes/
http://www.happylohrii.com/happy-lohri-wishes/
http://www.happylohrii.com/happy-lohri-wallpaper/
http://www.happylohrii.com/lohri-greetings/
http://www.happylohrii.com/lohri-images/
http://www.happylohrii.com/lohri-songs/
http://www.happylohrii.com/lohri-wishes/
http://www.happylohrii.com/lohri-festival/
http://www.happylohrii.com/happy-lohri-bonfire-festival/
http://www.happylohrii.com/lohri-bonfire-festival/ - Anonymous
January 12, 2016
Download free EDB to PST converter software to transfer EDB to PST file with complete Exchange mailbox attachments. It recovers entire Exchange Server database and convert into PST format with their original format. It works for all Exchange users to recover any version of corrupt or inaccessible EDB file and convert EDB to PST up to Outlook 2016.
Read more: http://www.edb2pst.net