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

Sending e-mail messages as another user or group


In some environments, it may be required to allow users to send e-mail messages from a mailbox as if the owner of that mailbox had actually sent this message. This can be accomplished by granting Send-As permissions to a user on a particular mailbox. In addition, you can also allow a user to send e-mail messages that are sent using the identity of a distribution group. This recipe explains how you can manage these permissions from the Exchange Management Shell.

How to do it...

To assign Send-As permissions to a mailbox, we use the Add-ADPermission cmdlet:


Add-ADPermission -Identity "Frank Howe" `
-User "Eric Cook" `
-ExtendedRights Send-As

After running the previous command, Eric Cook can send messages from Frank Howe's mailbox.

How it works...

The Add-ADPermission cmdlet uses the -Identity parameter to classify the object to which you will assign the permissions. Unlike many of the Exchange cmdlets, you cannot use the alias of the mailbox...