Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Book Image

Microsoft Exchange Server Powershell Cookbook (Update)

Overview of this book

Table of Contents (21 chapters)
Microsoft Exchange Server PowerShell Cookbook Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Granting users full access permissions to mailboxes


One of the most common administrative tasks that Exchange administrators need to perform is to manage the access rights to one or more mailboxes. For example, you may have several users that share access to an individual mailbox, or you may have administrators and help desk staff that need to be able to open end users mailboxes when troubleshooting a problem or providing technical support. In this recipe, you'll learn how to assign the permissions required to perform these tasks through the Exchange Management Shell.

How to do it...

To assign full access rights for an individual user to a specific mailbox, use the Add-MailboxPermission cmdlet:

Add-MailboxPermission -Identity dsmith '
-User hlawson '
-AccessRights FullAccess '
-AutoMapping $false

After running this command, the user hlawson will be able to open the mailbox that belongs to dsmith and read or modify the data within the mailbox, without having the mailbox automatically added...