API Reference
Command
Reset-ADXUserPassword
Resets an Active Directory user password.
Examples
Generated fallback example from command syntax.
Reset-ADXUserPassword -Identity 'Value' -NewPassword 'Value'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Reset-ADXUserPassword -Identity <string> -NewPassword <SecureString> [-ChangeAtNextLogon] [-Domain <string>] [<CommonParameters>]#Parameters
- Identity string
- Gets or sets user identity (sAMAccountName, UPN, DN, mail, or name).
- NewPassword SecureString
- Gets or sets the new password as a secure string.
- ChangeAtNextLogon SwitchParameter
- Gets or sets whether to enforce password change at next logon.
- Domain string
- Gets or sets the optional domain DNS name.
Outputs
ADPlayground.DirectoryMutationResult