Question Locked

Exchange cmd shell - delete old email; 1 mailbox

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi there,
Thanks for reading!

We've got a mailbox we use for journaling and a Barracuda archiver which pulls from it. I want to delete emails older than date X only on that mailbox. Is there a command shell cmdlt for this?

Thanks again!
Bob

2 replies

by p.j.hutchison

You can use the Export-mailbox command and use the StartDate, EndDate and DeleteContent to filter which mail to remove from mailbox and into a PST file temporarily,

This discussion is closed to new replies.