Share via


Remove a Role Scope

Applies to: Exchange Server 2010

Management role scopes determine what objects are made available to a user who can then change the objects using the cmdlets and parameters assigned to the user. If you're no longer using a scope, it can be removed. For more information about management role scopes in Microsoft Exchange Server 2010, see Understanding Management Role Scopes.

You must use the Shell to remove scopes.

Prerequisites

Before you can remove a scope, you must remove the scope from any management role assignments that might be using it. For more information about how to remove a scope from a role assignment, see Change a Role Assignment.

Use the Shell to remove a scope

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

To remove a scope, use the following syntax:

Remove-ManagementScope <scope name>

For example, to remove the "Dublin Servers" scope, use the following command:

Remove-ManagementScope "Dublin Servers"