Mailbox export through command shell is ignoring my date range
I am trying to export a large mailbox to PST. The mailbox is too large for me to export it to just 1 PST so I have exporting using the -startdate and -enddate switches but EMS seems to be ignoring these date range filters. My command is as follows:Export-Mailbox -Identity "quarantine" -PSTFolderPath e:\spamarc.pst -DeleteContent -StartDate 01/01/2008 -EndDate 10/29/2008Does anyone know how to fix this or has seen this before?
June 12th, 2009 7:38pm
HI,
Are there any errors in EMS after run command?
You want to 32bit computer that has minimum Outlook 2003 Sp2.
Regards
Chinthaka
Free Windows Admin Tool Kit Click here and download it now
June 12th, 2009 7:51pm
No errors, it runs but it tries to export the entire mailbox. If you dont have a 32bit version of windows with OL 2K3 you cannot run the command.
June 12th, 2009 7:54pm
~ Do you have latest Update Rollups installed on Exchange 2007 Server and on workstation where management tools installed? If not, try after installing it.
~ Also run cmdlet with -Verbose switch and see if you get any clue and you can post the result here..Amit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
June 12th, 2009 8:04pm
HI, Try below command
Export-Mailbox -Identity "quarantine" -PSTFolderPath "e:\spamarc.pst" -DeleteContent -StartDate "01/01/2008" -EndDate "10/29/2008" Your date and time format must be same as your regional settings .
If it is doesn't work try "e:\Test\" for -PSTFolderPath
Regards
Chinthaka
June 12th, 2009 8:06pm