CmdID / PowerShell / Cmdlets / Set
Set-ManagementRoleAssignment
Use the Set-ManagementRoleAssignment cmdlet to modify existing management role assignments. Exchange PowerShell reference
From the Exchange PowerShell reference 15 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the name of the management role assignment to modify.-RecipientAdministrativeUnitScopeThe RecipientAdministrativeUnitScope parameter specifies the administrative unit to scope the role assignment to.-RecipientGroupScopeThe RecipientGroupScope parameter specifies a group to consider for scoping the role assignment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-CustomConfigWriteScopeThe CustomConfigWriteScope parameter specifies the existing configuration management scope to associate with this management role assignment.-CustomRecipientWriteScopeThe CustomRecipientWriteScope parameter specifies the existing recipient-based management scope to associate with this management role assignment.-CustomResourceScopeThe CustomResourceScope parameter specifies the custom management scope to associate with this management role assignment.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-EnabledThe Enabled parameter specifies whether the management role assignment is enabled or disabled.-ExclusiveConfigWriteScopeThe ExclusiveConfigWriteScope parameter specifies the existing configuration exclusive management scope to associate with this management role assignment.-ExclusiveRecipientWriteScopeThe ExclusiveRecipientWriteScope parameter specifies the existing recipient-based exclusive management scope to associate with this management role assignment.-ForceThe Force switch hides warning or confirmation messages.-RecipientOrganizationalUnitScopeThe RecipientOrganizationalUnitScope parameter specifies the OU to scope the new role assignment to.-RecipientRelativeWriteScopeThe RecipientRelativeWriteScope parameter specifies the type of restriction to apply to a recipient scope.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.