It may become necessary to remove the user must change password setting. This is achieved by setting the pwdLastSet attribute to –1 $ou = "OU=England,DC=Manticore,DC=org"
"`nMicrosoft"
$name = "UserA"
Get-ADUser -Identity $name |
Set-ADUser… Read the full text.