using New-MailboxExportRequest in Exchange 2010 SP1
I'm using this command
New-MailboxExportRequest -Mailbox alias -ContentFilter {(Received -lt "01/05/2011")} -FilePath \\IpAdress\PST\alias.pst
where alias is the name of the mailbox.
the goal is to archive all the message received before the first of May in a pst file.
But the export fails whit this error
Request 'RequestGuid (cc5c3cae-5ad1-4b42-8f34-170c4bc0d001), RequestQueue: (ea3cfd74-3555-4378-9c78-6e09f234414f)' (cc5c3cae-5ad1-4b42-8f34-170c4bc0d001) failed.
Error code: -2146233088
ContentFilter is invalid. The value "08/01/2010 0.00.00" could not be converted to type System.DateTime. --> The value "08/01/2010 0.00.00" could not be converted to type System.DateTime.
Exchange 2010 SP1 ENU on Windows 2008 STD sp2 ENU.
My regional settings are italian.
Thanks
in
advance
for the help.
May 19th, 2011 6:43am
try without the " and use '
{(Received -lt '01/05/2011')}Sukh
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2011 7:46am
I try as you suggested
New-MailboxExportRequest -Mailbox alias -ContentFilter {(Received -lt '01/05/2011')} -FilePath
\\IpAdress\PST\alias.pst
but it still doesn' work.
Thanks.
May 19th, 2011 8:43am
New-MailboxExportRequest -Mailbox alias -ContentFilter {(Received -lt '01/05/2011 9:00')} -FilePath\\IpAdress\PST\alias.pstSukh
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2011 9:55am
Nothing to do.
I still get the same error.
Corto
May 19th, 2011 10:00am
I found the solution.
I set the system language to English (United States) and I ran again the command.
The export went well.
Thanks for your attention.
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2011 12:09pm