quote:
Do this then:

$ADSUser.Put("PasswordExpired", 1)
$ADSUser.SetInfo

That gives an "expected expression!" error, unles I change $ADSUser to $Domain.

If I change it to $Domain, it does nothing.