I want to delete a specific message with a subject from all our exchange 2013 mailboxes...what is the syntax for all the mailboxes?
This is the syntax for a specific mailbox
Search-Mailbox -Identity "April Stewart" -SearchQuery "Subject:'Your bank statement'" -DeleteContent