The PsPasswd application was developed to be a small command line tool that will allow you to change the password of a local or domain account on the local or a remote computer.
Usage:
pspasswd [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] Username [NewPassword]
computer
Perform the command on the remote computer or computers specified. If you omit the computer name the command runs on the local system, and if you specify a wildcard (\\*), the command runs on all computers in the current domain.
@file
Run the command on each computer listed in the text file specified.
-u
Specifies optional user name for login to remote computer.
-p
Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.
Username
Specifies name of account for password change.
NewPassword
New password. If ommitted a NULL password is applied.