Single user

Set-ADAccountPassword –Identity useralias–Reset –NewPassword (ConvertTo-SecureString -AsPlainText “[email protected]” -Force)

 

Multiple Users

csv with heading SamaccountName and the new password

$UserFile = “C:\Temp\MultiUser.CSV”
Foreach ($User in $UserFile)
{
$SamAccountName = $User .SamAccountName
$ThisPassword = $User .Password
Set-ADAccountPassword –Identity $SamAccountName –Reset –NewPassword (ConvertTo-SecureString -AsPlainText “$Password” -Force)
}