New-ComplianceSearchAction

Purging Unwanted Messages from Exchange Online Mailboxes

by Tony Redmond

Microsoft will remove the Search-Mailbox cmdlet from Exchange Online on July 1, but that doesn't mean you can't purge bad messages from user mailboxes. Office 365 content searches and content search actions can hard- or soft-delete messages. Some limitations exist, but not enough to be worried. And we include a PowerShell script to show how to get the job done.

Microsoft Deprecating Exchange Online’s Search-Mailbox Cmdlet

by Tony Redmond

Microsoft has started to flag its intention to deprecate the Search-Mailbox cmdlet. It's probably the right time to remove this cmdlet from Exchange Online because Office 365 compliance searches can serve the same purpose. At least, compliance searches can do most of what Search-Mailbox does faster. Some functionality gaps need to be filled before we can bid adieu to Search-Mailbox, but its time is coming.