Book Image

Microsoft Exchange 2010 PowerShell Cookbook

Book Image

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
Index

Configuring recipient moderation


Exchange 2010 is the first version of Exchange to implement the moderated transport feature. This allows you to require approval for all e-mail messages sent to a particular recipient by a designated moderator. In this recipe, you'll learn how to configure the moderation settings on recipients using the Exchange Management Shell.

How to do it...

  1. To enable moderation for a distribution group, use the Set-DistributionGroup cmdlet:

    Set-DistributionGroup -Identity Executives `
    -ModerationEnabled $true `
    -ModeratedBy administrator `
    -SendModerationNotifications Internal
  2. These same parameters can be used to configure moderation for a mailbox when using the Set-Mailbox cmdlet:

    Set-Mailbox -Identity dave `
    -ModerationEnabled $true `
    -ModeratedBy administrator `
    -SendModerationNotifications Internal
    

How it works...

When you enable moderation for a recipient, any e-mail message sent to that recipient must be reviewed by a moderator. When a message is sent to a moderated...