set_user_password

Use the set_user_password command to set a new password for an Active Directory user or computer in Active Directory.

Zone type

Not applicable

Syntax

set_user_password UPN password

Abbreviation

sup

Options

This command takes no options.

Arguments

This command takes the following arguments:

Argument Type Description

UPN

string

Required. Specifies the user principal name (UPN) of the user or computer whose password will be reset.

password

string

Required. Specifies the text string to set as the new password.

If the string contains characters that might be misinterpreted by ADEdit’s Tcl interpreter ($, for example), enclose the string in braces { } so that all characters are interpreted literally with no substitutions.

Return value

This command returns nothing if it runs successfully.

Examples

set_user_password adam.avery@acme.com {B4uC$work}

This example sets the password for adam.avery@acme.com to B4uC$work.

Related commands

None.