Set-LocalUser

Change the password on an account

$Password = Read-Host -AsSecureString
$UserAccount = Get-LocalUser -Name "User02"
$UserAccount | Set-LocalUser -Password $Password

Enable account

$UserAccount = Get-LocalUser -Name "User02"
$UserAccount | Enable-LocalUser