Change password at next login

From MyWiki
Jump to: navigation, search

Set-ADUser -Identity <samAccountName> -ChangePasswordAtLogon $true
The cmdlet itself internally update the pwdLastSet attribute.