Delete specific email from O365 mailboxes

1.  Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential  $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection  Import-PSSession …

Migrate Exchange on-prem user to O365

Migrate users a. Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic …

Remove All Emails from a specific sender

1.  Connect to Exchange On-line From the PowerShell console on an Exchange 2010 server: $Cred = Get-Credential $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection Import-PSSession …