| 1 | initial version |
I assume you are trying to stick with powershell for your commands so:
$NewPassword = ConvertTo-SecureString "P@ssw0rd" -AsPlainText -Force Set-LocalUser -Name administrator -Password $NewPassword
If you were trying to do it with cmd line then: runcmd: - net user administrator P@ssw0rd
© 2014-2023 Cloudbase Solutions Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.