Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Remove-NaRole


NAME
Remove-NaRole

SYNOPSIS
Deletes a role.

SYNTAX
Remove-NaRole [-Role] <String> [-Controller <NaController>] [<CommonParamete
rs>]


DESCRIPTION
Deletes a role.


PARAMETERS
-Role <String>
The name of the role to be deleted.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: useradmin
API: useradmin-role-delete

-------------- Example 1 --------------

C:\PS>Remove-NaRole script


Remove role 'script'.






RELATED LINKS
Get-NaRole
Set-NaRole
New-NaRole







 Data ONTAP® PowerShell Toolkit