Delete messages from Outlook and Exchange 2013

Hello,

I am testing an Exchange 2013 server. While testing, I am sending messages back and forth between my test accounts, creating calendar events, contacts, and tasks. I am running multiple tests. Each time I create a test, I delete all the existing items in each account. Is there a way to automatically delete all user items from user accounts so that I don't have to do it manually? Could this be accomplished in the Exchange Management Shell somehow, and if so please send me an example.

Thanks.
LVL 1
jhiebAsked:
Who is Participating?
 
Neil RussellConnect With a Mentor Technical Development LeadCommented:
By far the quickest, as its just a test environtment AND you would then have a base starting point that is the same each time, would be to delete the mail account and create new ones for each test run.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.