Use this code snippet to force a user to change his/her password:
#requires -Version 1 -Modules ActiveDirectory Set-ADUser -Identity username -ChangePasswordAtNextLogon $true
Use this code snippet to force a user to change his/her password:
#requires -Version 1 -Modules ActiveDirectory Set-ADUser -Identity username -ChangePasswordAtNextLogon $true