Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Change the Assignment Policy on a Mailbox

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

You can change the management role assignment policy assigned to a mailbox. When you change a mailbox's assignment policy, the change takes effect immediately. For more information about assignment policies in Microsoft Exchange Server 2010, see Understanding Management Role Assignment Policies.

Looking for other management tasks related to end users? Check out Managing End Users.

This topic makes use of pipelining, the Where cmdlet and the WhatIf parameter. For more information about these concepts, see the following topics:

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Assignment policies" entry in the Role Management Permissions topic.

Dd638076.note(en-us,EXCHG.140).gifNote:
You cannot use the EMC to change the assignment policy on a mailbox.

To change the assignment policy that's assigned to a mailbox, use the following syntax.

Set-Mailbox <mailbox alias or name> -RoleAssignmentPolicy <assignment policy>

This example sets the assignment policy to Unified Messaging Users on the mailbox Brian.

Set-Mailbox Brian -RoleAssignmentPolicy "Unified Messaging Users"

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Assignment policies" entry in the Role Management Permissions topic.

If you want to change the assignment policy for a group of mailboxes that are assigned a specific policy, use the following syntax.

Get-Mailbox | Where { $_.RoleAssignmentPolicy -Eq "<assignment policy to find>" } | Set-Mailbox -RoleAssignmentPolicy <assignment policy to set>

This example finds all the mailboxes assigned to the Redmond Users - No Voicemail assignment policy and changes the assignment policy to Redmond Users - Voicemail Enabled.

Get-Mailbox | Where { $_.RoleAssignmentPolicy -Eq "Remond Users - No Voicemail" } | Set-Mailbox -RoleAssignmentPolicy "Redmond Users - Voicemail Enabled"

This example includes the WhatIf parameter so that you can see all of the mailboxes that would be changed without committing any changes.

Get-Mailbox | Where { $_.RoleAssignmentPolicy -Eq "Remond Users - No Voicemail" } | Set-Mailbox -RoleAssignmentPolicy "Redmond Users - Voicemail Enabled" -WhatIf

For detailed syntax and parameter information, see Get-Mailbox or Set-Mailbox.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.