Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to Export one of our Mailboxes into a .PST file and having problems finding the right cmdlets. We are trying to export certain keywords of a users mailbox. I've tried using the cmdlet of -ContentFilter {All -like "Keyword Test"} without any luck.

This is what I've tried so far, but without any luck. New-MailboxExportRequest -ContentFilter {All -like "Keyword Test"} -Mailbox “Pelton” -Name DPeltonExp -FilePath \ExServer1\Imports\DPelton.pst

I've also tried the other following, but all .PST are empty of any emails. New-MailboxExportRequest -ContentFilter {All -like "Firstword Secondword"} -Mailbox “Pelton” -Name DPeltonExp -FilePath \ExServer1\Imports\DPelton.pst

New-MailboxExportRequest -ContentFilter {All -eq "Firstword Secondword"} -Mailbox “Pelton” -Name DPeltonExp -FilePath \ExServer1\Imports\DPelton.pst

New-MailboxExportRequest -ContentFilter {All -eq "Firstword Secondword"} -Mailbox “Pelton” -Name DPeltonExp -FilePath \ExServer1\Imports\DPelton.pst

Any and all help is appreciated. Thank you,

share|improve this question

1 Answer 1

Please try using the Export-Mailbox command rather than New-MailboxExportRequest

Export-Mailbox -Identity <MailboxIdParameter> -TargetMailbox <MailboxIdParameter> -TargetFolder <Target_Folder_Name> -ContentKeywords "<String[]>" -AttachmentFilenames "<String[]>" -StartDate "<Month/Day/Year> <Time>" -RecipientKeywords <String[]>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.