Export PST file with emails Between dates
Hi For an additional backup we are are exporting emails as a pst file from Exchange, which works well. However, whenever I add content parameters to filter particular dates the export fails without error.
New-MailboxExportRequest -ContentFilter {(Received -lt '01/30/2015') -and (Received -gt '01/26/
2015')} -Mailbox "firstname.surname" -Name MyExp -FilePath \\MyServer\Support$\PSTEXPTEST\test.pst
I've also tried a suggestion of replacing the curly brackets with double quotes but still no success.
Thanks to anyone who can help.
January 30th, 2015 5:47pm
What is the exact error? can you post the event in here? because the command appears to be correct.
January 30th, 2015 8:53pm
Hi,
Any updates on the same ?
The PS you are using, looks good to pull the result however, if you still unable to get the desired result, you may also consider on this automated solution(http://www.exchangemailboxtopst.org/) that should
be an appropriate solution for you.
February 2nd, 2015 4:18am
There is no error. It queues the task as expected, but when I check on it's progress it is marked as failed. The resulting PST file contains no emails.
Any ideas?
February 2nd, 2015 6:01am
Hi,
i have seen this occure i user has existing migration batch og exportrequest.
Please run get-mailboxexportrequest and see if user is on the list.
And also check Get-MigrationStatistics.
Clear all With status finish to see if it helps.
Also Clear failed
February 2nd, 2015 4:15pm
No there's nothing on the export request list as I'd cleared all failures each time after it failed. The migration statistics applies to Exchange 2013, this is on 2010.
Any other ideas?
February 2nd, 2015 5:21pm
for 2010 its
Get-MoveRequest -MoveStatus InProgress (completed,failed and so on)
I did run a test with your command and its correct and working.
Since you already could run New-MailboxExportRequest i guess the account has permission to export mailbox.
After you run the mentioned command and press enter,it could take a while before it loads/change status to exporting.
February 2nd, 2015 9:13pm
I let it run overnight, but still no luck. It works but just fails, not sure why..
February 10th, 2015 5:34am