Exchange script to copy email from a users inbox for a specific date range?
Posted on 2016-10-24
Looking for a script that will accomplish the following task.
Copy email from a user’s mailbox that meets a specific date. The copy script should only execute based on the effective date plus 60 days. For example, if a daily script started running Oct 1st, no emails will be copied until Nov 30th. So on Nov 30th only emails from Oct 1st will be copied. On Dec 1st emails from Oct 2nd will be copied, so on an so forth. No emails will be copied prior to the start date, so if the script starts running on Oct 1st, we can't copy any emails from Sept 30th.
We would like to copy email from all mail folders except deleted items. We are currently running Exchange 2013.
Basically: Copy email to "resource.pst" if Date = Current Date + 60 days
Is there are script or software that anyone can think of that can accomplish this task? Please let me know if there are any additional information that I need to provide or if I need to clarify anything. Thank you.