I am wondering if it is possible to use the Exchange Shell to perform some mailbox maintenance on a specific mailbox, or will I need to use Powershell?
Basically I need to do the following:
- Access a specific shared mailbox
- Cycle thru the Inbox and read each email
- Grab the body and subject of the email
- Insert those into a database
- Move each email into the deleted folder
As a side note, another process needs to do the following:
- Look into the specific shared mailbox
- Look into a specific folder within the Inbox
- Move each email into the deleted items that are 2 weeks old