Set-ADUser -Identity username -Replace @{pwdlastset="0"} Set-ADUser -Identity username -Replace @{pwdlastset="-1"}