This, in my experience, is a rarely used option but for completeness it is presented here. Its another setting that is controlled through the useraccountcontrol attribute this should be familiar
$ou = "OU=England,DC=Manticore,DC=org" "`nMicrosoft" $name = "UserA" Get-ADUser -Identity $name | Set-ADAccountControl -DoesNotRequirePreAuth:$true "`nAD provider" $name = "UserB" $dn = "cn=$name,$ou" $flag = (Get-ItemProperty -Path AD:\$dn -Name useraccountcontrol).useraccountcontrol -bxor 4194304 Set-ItemProperty -Path AD:\$dn -Name useraccountcontrol -Value "$flag" -Confirm:$false "`nQuest" $name = "UserC" $user = Get-QADUser -Identity $name -IncludeAllProperties $flag = $user.userAccountControl -bxor 4194304 $user.userAccountControl = $flag Set-QADUser -Identity $name -ObjectAttributes @{userAccountControl = $flag} "`nScript" $name = "UserD" $dn = "cn=$name,$ou" $user = [adsi]"LDAP://$dn" $flag = $user.userAccountControl.value -bxor 4194304 $user.userAccountControl = $flag $user.SetInfo()