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

Allowing managers to modify group membership


Many organizations like to give specific users rights to manage the membership of designated distribution groups. This has been a common practice for years in previous versions of Exchange. While users have typically modified the memberships of the groups they have rights to from within Outlook, they now have the added capability to manage these groups from the web-based Exchange Control Panel (ECP). Exchange 2010 introduced a new security model that changed the way you can delegated these rights. In this recipe, we'll take a look at what you need to do in Exchange 2010 to allow managers to modify the memberships of distribution groups.

How to do it...

  1. The first thing you need to do is assign the built-in MyDistributionGroups role to the Default Role Assignment Policy:

    New-ManagementRoleAssignment -Role MyDistributionGroups `
    -Policy "Default Role Assignment Policy"
  2. Next, set the ManagedBy property of the distribution group that needs to be modified...