Exporting email items from Exchange 2010 mailboxes between two specific dates
I am currently trying to come up with an EMS script (or set of scripts should one script not allow for all of the following to occur at once) or EMC multi-mailbox search parameters that will allow me to perform the following functions on specific mailboxes on my Exchange 2010 SP2 server: 1. Copy emails from a specific date range (Example: All e-mails from 1/1/06 to 1/1/12) from one mailbox to a specific folder in another mailbox. 2. Include all e-mails that have been deleted by the user via Outlook as well as those in online archives for users who have one setup. (We have litigation hold enabled on all mailboxes, so this shouldn't be an issue) 3. Export the items in step one and two to PST files for each mailbox the script(s) is run against. My situation is as follows: I'm trying to create PST files for each user's mailbox I need to run this script against to export as part of a legal discovery project. Here's what I've come up with so far... Script 1 to search the mailbox and move the message to another mailbox, as outlined in steps one and two above: "Search-Mailbox -Identity <Alias> -TargetFolder <string> -TargetMailbox <Alias>" How do you go about setting a date range here? It looks like SearchDumpster isn't a necessary switch, as it's searched by default. Script 2 to move the returned results from script 1: "New-MailboxExportRequest - Mailbox Alias -IncludeFolders FolderName - FilePath \\Server\Share\User.pst" Outside of the date parameter setting I hope exists, am I missing anything necessary to accomplish my goals here? Thanks in advance!
May 25th, 2012 11:27am

Hi Tom, Any updates? Just a reminder, if you want to use multi-mailbox search(New-MailboxSearch), you need Exchange enterpise CALs for mailboxes. Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.Frank Wang TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 3:06am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics