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, we now have a new cmdlet called Search-Mailbox
that can be used to clean up the mailboxes in our environment. This cmdlet includes some new features as well, and in this recipe we will take a look at how to use it to delete messages from mailboxes.
Microsoft Exchange 2010 PowerShell Cookbook
Microsoft Exchange 2010 PowerShell Cookbook
Overview of this book
Table of Contents (22 chapters)
Microsoft Exchange 2010 PowerShell Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
PowerShell Key Concepts
Exchange Management Shell Common Tasks
Managing Recipients
Managing Mailboxes
Distribution Groups and Address Lists
Mailbox and Public Folder Databases
Managing Client Access
Managing Transport Servers
High Availability
Exchange Security
Compliance and Audit Logging
Server Monitoring and Troubleshooting
Scripting with the Exchange Web Services Managed API
Exchange Management Shell reference
Advanced Query Syntax
Index
Customer Reviews