Forum Discussion
export pst
Hi experts
i have a requirement to export pst files for two users.
for one user i want to export mails from june 2017 to dec2017 from mailbox. will the below syntax work?
New-MailboxExportRequest -Mailbox "user1@mydomain.com" -batchname batch1 -ContentFilter {(Received -gt '06/01/2017') -and (Received -lt '12/31/2017')}
-FilePath "\\myserver01\sharedfolder\user1.pst"
for onother user i want to export mails from archive mailbox from jan 2016 to march 2018 from his archive mailbox. will the below syntax work?
New-MailboxExportRequest -Mailbox "user2@mydomain.com" -batchname batch2 -ContentFilter {(Received -gt '01/01/2016') -and (Received -lt '03/31/2018')}
-FilePath "\\myserver01\sharedfolder\user1.pst" -IsArchive
Please also help me with the syntax to know the status of batches.
Hi,
Here is a step-by-step instruction on how to export Office 365 mailboxes to PST using eDiscovery: https://www.codetwo.com/admins-blog/how-to-export-office-365-mailboxes-to-pst-using-ediscovery/.
Hope this helps.
Adam
- Rnishat0786Iron Contributor
Hi there,
Could you confirm if you are trying to run this command for Exchange Online. If yes the New-mailboxexportrequest parameter will not work.
This option is still not available in Exchange Online
Thanks
Robin Nishad
--------------------------------------------------------------------------------------
Kindly Mark the reply as answer if find helpful.
- Max FritzIron Contributor
As Robin said, these commands do not work for Exchange Online.
Instead, create a Content Search (also referred to as eDiscovery) through the Security and Compliance Center. Once you have a search, you can export the content to PST.
- Adam_AardvarkIron Contributor
Hi,
Here is a step-by-step instruction on how to export Office 365 mailboxes to PST using eDiscovery: https://www.codetwo.com/admins-blog/how-to-export-office-365-mailboxes-to-pst-using-ediscovery/.
Hope this helps.
Adam
- EricStarkerCommunity ManagerHello all - looks like this has been asked and answered (with a best response noted). Since people are responding to this now with third party tool links (not allowed on Tech Community), I've closed this thread for new responses. Thanks!