This command remove all elements of a mailbox. it do not remove folders Search-Mailbox -Identity "Name_of_mailbox" -DeleteContent -Force