Change Windows user password using Powershell

$Password = Read-Host -AsSecureString

$UserAccount = Get-LocalUser -Name "Administrator"

$UserAccount | Set-LocalUser -Password $Password
  •  
  •  
  •  
  •  

Viet Luu has written 212 articles

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

We are thankful for your never ending support.