customer relationships

Delete emails from specific sender in one users mailbox

1.  Connect to Exchange On-line

  1. From the PowerShell console on an Exchange 2010 server:

$Cred = Get-Credential 

$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $cred -Authentication Basic –AllowRedirection 

Import-PSSession $s 


  1. Run this command in Powershell


Search-Mailbox -identity “User Mailbox” -SearchQuery “” -deletecontent 

one click social media designs

Leave a Reply

Your email address will not be published. Required fields are marked *