O'Reilly logo

Microsoft Exchange 2010 PowerShell Cookbook by Mike Pfeiffer

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

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 ...

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