none
How can I delete all mail from a user's "deleted" items folder in O365 powershell? RRS feed

  • Question

  • The following  command deletes all mail for a user in O365 from the "recover deleted items" folder

    Search-Mailbox <username> -SearchQuery size>0 -SearchDumpsterOnly -DeleteContent

    I am trying to find a command that will delete all mail from the user's "deleted" items folder. This user currently has 90+ GBs in the deleted items folder. Trying to clean up through OWA did not work.

    Thanks,


    ExchangeGuru

    • Moved by Bill_Stewart Tuesday, December 11, 2018 11:27 PM This is not "scripts on demand"
    Thursday, August 9, 2018 1:23 PM