Data ONTAP® PowerShell Toolkit

Cmdlet: Remove-NaUser


NAME
Remove-NaUser

SYNOPSIS
Deletes a user.

SYNTAX
Remove-NaUser [-User] <String> [-Controller <NaController>] [-WarningAction
<ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<Commo
nParameters>]


DESCRIPTION
Deletes a user.


PARAMETERS
-User <String>
The name of the user to be deleted.

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

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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

-WhatIf


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

-Confirm


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-user-delete

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

C:\PS>Remove-NaUser krusty


Remove user 'krusty'.






RELATED LINKS
Get-NaUser
Set-NaUser
New-NaUser







 Data ONTAP® PowerShell Toolkit