Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 8820

Exchange 2010 SP1 Mailbox export date filter problem - bug?

$
0
0

Good Morning,

I'm playing with the new export to pst functionality in SP1 and managed to archive a number of mailboxes sucessfully.

However I'm running into problems with date filters. I'm in the UK where we express dates as DD/MM/YYYY.

The following command works just fine

New-MailboxExportRequest -Mailbox "journaling_mailbox" -ContentFilter {(Received -gt "01/08/2010") -and (Received -lt "02/08/2010")} -FilePath "\\server\Journaling_2010_M08.pst"

I open the pst and as expected have the mail for the 1st August, so it appears to correctly understand the date format.

However when I try with an end date of the end of August it fails

New-MailboxExportRequest -Mailbox "journaling_mailbox" -ContentFilter {(Received -gt "01/08/2010") -and (Received -lt "31/08/2010")} -FilePath "\\server\Journaling_
2010_M08.pst"

The provided ContentFilter value is invalid. ContentFilter is invalid. The value "31/08/2010" could not be converted to
 type System.DateTime. --> The value "31/08/2010" could not be converted to type System.DateTime.
 + CategoryInfo : InvalidArgument: ((Received -gt "...t "31/08/2010"):String) [], ContentFilterInvalidPerm
 anentException
 + FullyQualifiedErrorId : 6E7F7C81

For my purposes, archiving the journaling mailbox a month at a time a suitable workaround was to go from the 1st Aug to 1st Sept. But either I'm being dull or this looks like a bug? Any thoughts?


Tim


Viewing all articles
Browse latest Browse all 8820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>