CmdID / PowerShell / Cmdlets / Remove
Remove-ManagementRole
Use the Remove-ManagementRole cmdlet to remove custom management roles that you don't need anymore. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the custom role to remove.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ForceThe Force switch hides warning or confirmation messages.-RecurseThe Recurse switch removes the specified role and all child roles of the specified role.-UnScopedTopLevelBy default, this parameter is available only in the UnScoped Role Management role, and that role isn't assigned to any role groups.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.