So came across an account that had 450000 items that were log files that were being captured in a mailbox. I wanted to delete all the enteries with powershell instead of going through the GUI.
Here the command I used to get it done:
1 |
Search-mailbox -Identity user@domain.com -DeleteContent -Force |