Search-Mailbox -Identity -SearchQuery 'Recall:' -DeleteContent If it pulled everything you wanted to delete - and nothing else - modify the command to something like this: ![]() Search-Mailbox -Identity -SearchQuery 'Recall:' -TargetMailbox -TargetFolder "Powershell" -LogOnly -LogLevel FullĪfter running the command, a Powershell folder will be created in your email, and it will contain a zip that has a CSV of what the command found. I could be wrong though! This initial command would look something like this: just another email with that formatting added that Outlook is programmed to recognize. As far as I know, that's pretty much all a recall attempt is. You'll want to look for messages with "Recall:" in the subject. ![]() ![]() You have the right permissions in the Exchange Admin Roles section of the O365 admin panel, which no account has by default - the Mailbox Search and Mailbox Import/Export permissions.įrom there you use the Search-Mailbox cmdlet. Not sure if this will help, but we use hosted Exchange and I was able to delete a message recall attempt by connecting through Powershell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |