Hi @IT •
#To unlock user account
Unlock-ADAccount -Identity jcloud
#To reset user password
Set-ADAccountPassword -Identity 'jcloud' -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "p@ssw0rd" -Force)
#Force user to change his password at first logon
Set-Identity 'jcloud' -ChangePasswordAtLogon $true
You can refer to the following links to get more details:
Please don't forget to accept helpful answer