Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 3457

Exchange 2013 - Remove an accidentally Email with a Specific Subject from One/All User Mailbox using Powershell

$
0
0

Hi,

My organization is using Exchange Server 2013, and I want to removing an email content that sent to all mailbox user because the message is not yet complete but it has sent accidentally.

I have try powershell command below with no error but is not working :

1. Remove a Email with a Specific Subject from One Mailbox

search-mailbox -identity user_alias -searchquery "Subject:'Mail Subject'" -DeleteContent

2. Remove a Email with a Specific Subject from all the Mailboxes in the Organization

get-Mailbox -ResultSize unlimited | search-mailbox -searchquery "Subject:'Mail Subject'" -DeleteContent

Is there are other more powerful command?

Thanks


Viewing all articles
Browse latest Browse all 3457

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>