SOLVED

export pst

%3CLINGO-SUB%20id%3D%22lingo-sub-216472%22%20slang%3D%22en-US%22%3Eexport%20pst%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216472%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EHi%20experts%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Ei%20have%20a%20requirement%20to%20export%20pst%20files%20for%20two%20users.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Efor%20one%20user%20i%20want%20to%20export%20mails%20from%20june%202017%20to%20dec2017%20from%20mailbox.%20will%20the%20below%20syntax%20work%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENew-MailboxExportRequest%20-Mailbox%20%22user1%40mydomain.com%22%20-batchname%20batch1%20-ContentFilter%20%7B(Received%20-gt%20'06%2F01%2F2017')%20-and%20(Received%20-lt%20'12%2F31%2F2017')%7D%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E-FilePath%20%22%5C%5Cmyserver01%5Csharedfolder%5Cuser1.pst%22%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3Efor%20onother%20user%20i%20want%20to%20export%20mails%20from%20archive%20mailbox%20from%20jan%202016%20to%20march%202018%20from%20his%20archive%20mailbox.%20will%20the%20below%20syntax%20work%3F%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3ENew-MailboxExportRequest%20-Mailbox%20%22user2%40mydomain.com%22%20-batchname%20batch2%20-ContentFilter%20%7B(Received%20-gt%20'01%2F01%2F2016')%20-and%20(Received%20-lt%20'03%2F31%2F2018')%7D%26nbsp%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E-FilePath%20%22%5C%5Cmyserver01%5Csharedfolder%5Cuser1.pst%22%20-IsArchive%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EPlease%20also%20help%20me%20with%20the%20syntax%20to%20know%20the%20status%20of%20batches.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-216472%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn-Premises%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217077%22%20slang%3D%22en-US%22%3ERe%3A%20export%20pst%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217077%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20a%20step-by-step%20instruction%20on%20how%20to%26nbsp%3Bexport%20Office%20365%20mailboxes%26nbsp%3Bto%20PST%20using%20eDiscovery%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.codetwo.com%2Fadmins-blog%2Fhow-to-export-office-365-mailboxes-to-pst-using-ediscovery%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.codetwo.com%2Fadmins-blog%2Fhow-to-export-office-365-mailboxes-to-pst-using-ediscovery%2F%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216613%22%20slang%3D%22en-US%22%3ERe%3A%20export%20pst%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216613%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20Robin%20said%2C%20these%20commands%20do%20not%20work%20for%20Exchange%20Online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EInstead%2C%20create%20a%20Content%20Search%20(also%20referred%20to%20as%20eDiscovery)%20through%20the%20Security%20and%20Compliance%20Center.%20Once%20you%20have%20a%20search%2C%20you%20can%20export%20the%20content%20to%20PST.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Frun-a-content-search-in-the-office-365-security-compliance-center-61852fd9-fe8a-4880-a339-cb19ed3bff4a%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Frun-a-content-search-in-the-office-365-security-compliance-center-61852fd9-fe8a-4880-a339-cb19ed3bff4a%3Fui%3Den-US%26amp%3Brs%3Den-US%26amp%3Bad%3DUS%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-216576%22%20slang%3D%22en-US%22%3ERe%3A%20export%20pst%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-216576%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20confirm%20if%20you%20are%20trying%20to%20run%20this%20command%20for%20Exchange%20Online.%20If%20yes%20the%20New-mailboxexportrequest%20parameter%20will%20not%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20option%20is%20still%20not%20available%20in%20Exchange%20Online%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERobin%20Nishad%3C%2FP%3E%3CP%3E--------------------------------------------------------------------------------------%3C%2FP%3E%3CP%3EKindly%20Mark%20the%20reply%20as%20answer%20if%20find%20helpful.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-507670%22%20slang%3D%22en-US%22%3ERe%3A%20export%20pst%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-507670%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20exporting%20the%20PST%20into%20another%20file%20format%20like%20MBOX%20on%20the%20Mac%20system%20then%20try%20this%20PST%20to%20MBOX%20Converter%20for%20Mac.%20Visit%20here%20to%20download%20the%20software%3A-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.mailvita.com%2Fpst-to-mbox-converter-for-mac%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.mailvita.com%2Fpst-to-mbox-converter-for-mac%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-507686%22%20slang%3D%22en-US%22%3ERe%3A%20export%20pst%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-507686%22%20slang%3D%22en-US%22%3EI%E2%80%99m%20sure%20he%20can%20google%20for%20third%20party%20tools!%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

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.

4 Replies
Highlighted

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.

Highlighted

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.

 

https://support.office.com/en-us/article/run-a-content-search-in-the-office-365-security-compliance-...

Highlighted
Solution

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

 

Highlighted
I’m sure he can google for third party tools!

Adam