Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Reset-NcCifsPassword


NAME
Reset-NcCifsPassword

SYNOPSIS
Reset the CIFS server's machine account password in the Windows Active Direc
tory domain.

SYNTAX
Reset-NcCifsPassword [-AdminUsername] <String> [-AdminPassword] <String> [-V
serverContext <String>] [-Controller <NcController[]>] [-WhatIf] [-Confirm]
[<CommonParameters>]

Reset-NcCifsPassword [-AdminCredential] <PSCredential> [-VserverContext <Str
ing>] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<CommonParameters
>]


DESCRIPTION
Reset the CIFS server's machine account password in the Windows Active Direc
tory domain. This may be required if the password stored along with the mach
ine account in the Windows Active Directory domain is changed or reset witho
ut the Vserver's knowledge. This operation requires the credentials for a us
er with permission to reset the password in the organizational unit (OU) tha
t the machine account is a member of.


PARAMETERS
-AdminUsername <String>
Username of a user with permission to reset the password in the organiza
tional unit (OU) that the machine account is a member of.

Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false

-AdminPassword <String>
Account password.

Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false

-VserverContext <String>
Credentials of a user with permission to reset the password in the organ
izational unit (OU) that the machine account is a member of.

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

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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

-AdminCredential <PSCredential>
Credentials of a user with permission to reset the password in the organ
izational unit (OU) that the machine account is a member of.

Required? true
Position? 1
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: cifs
API: cifs-password-reset
Family: vserver

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

C:\PS>Reset-NcCifsPassword -AdminUsername Administrator -AdminPassword passw
ord


Reset the CIFS server's machine account password in the Windows Active Direc
tory domain.






RELATED LINKS







 Data ONTAP® PowerShell Toolkit