Skip to main content
SnapCenter 4.7 cmdlets

Remove-SmRole

Contributors

Removes an RBAC role.

Syntax

Remove-SmRole [-Name]  <String>

Detailed Description

Removes an RBAC role.

Parameters

Name Description Required? Pipeline Input Default Value

Name

Names the RBAC role you want to delete.

true

true (ByPropertyName)

Examples

Example 1: Removing a specific role

 Remove-SmRole -Name BackupAdmin

This example syntax removes the specified role from SnapCenter.

Remove-SmRole
Are you sure you want to remove the role ?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y

Example 2: Removing a specific role without confirmation dialogue

 Remove-SmRole -Name BackupAdmin -Confirm:$false

This example syntax removes the specified role from SnapCenter.