Share via


Change the Assignment Policy on a Mailbox

Applies to: Exchange Server 2010

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.

Prerequisites

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

What Do You Want to Do?

  • Use the Shell to change the assignment policy on a mailbox
  • Use the Shell to change the assignment policy on a group of mailboxes assigned a specific assignment policy

Use the Shell to change the assignment policy on a mailbox

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.

Note

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"

Use the Shell to change the assignment policy on a group of mailboxes assigned a specific assignment policy

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.

Other Tasks

After you change the assignment policy on a mailbox, you may also want to: