Get-LocalUser $Password = Read-Host "Enter the new password" -AsSecureString $UserAccount = Get-LocalUser -Name "Administrator" $UserAccount | Set-LocalUser -Password $Password
Get-LocalUser $Password = Read-Host "Enter the new password" -AsSecureString $UserAccount = Get-LocalUser -Name "Administrator" $UserAccount | Set-LocalUser -Password $Password
Comments