O'Reilly logo

Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition by Mike Pfeiffer, Jonas Andersson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deleting messages from mailboxes

At one point or another, you are bound to find yourself in a situation where you need to remove an e-mail message from one or more mailboxes. This may be due to a message being sent to one of your distribution lists or as a part of some kind of spam or virus-related outbreak. If you have worked with Exchange 2007, you may be familiar with the Export-Mailbox cmdlet that could previously be used to perform this task. With Exchange 2010 SP1, the cmdlet called Search-Mailbox was introduced. This has been even more enveloped. The Search-Mailbox cmdlet can be used to clean up the mailboxes in our environment. In Exchange 2013, this cmdlet includes some new features as well, and in this recipe we will take a look at how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required