TestimoX

API Reference

Command

Reset-ADXUserPassword

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.DirectoryMutationResult

Resets an Active Directory user password.

Examples

Generated fallback example

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 requiredposition: 0pipeline: falsealiases: CommonName, DistinguishedName, DN, Mail, Name, SamAccountName, UPN, UserPrincipalName
Gets or sets user identity (sAMAccountName, UPN, DN, mail, or name).
NewPassword SecureString requiredposition: 1pipeline: false
Gets or sets the new password as a secure string.
ChangeAtNextLogon SwitchParameter optionalposition: namedpipeline: false
Gets or sets whether to enforce password change at next logon.
Domain string optionalposition: namedpipeline: falsealiases: DomainName
Gets or sets the optional domain DNS name.

Outputs

ADPlayground.DirectoryMutationResult