Hi Guys,
Anyone got a PS script that will allow me to delete specific content for a users mailbox. ie. "I want to delete everything up to 2016 from the sent items folder for user joe bloggs". I have been playing around with the search-mailbox function, but I'm struggling with the syntaxt of defining a particualar folder. I can remove ALL mail by date, I just need to define from which folder I want the criteria to remove.
Thanks for your help guys.
IM
https://www.petri.com/delete-email-from-microsoft-exchange-user-mailboxes-using-powershell