Question: how to change user password via powershell?
Answer: Run PowerShell as an administrator.
Use the Set-ADAccountPassword cmdlet to change the user's password: Set-ADAccountPassword -Identity $user -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "$newPass" -Force) ... 
Hit Enter.