create local user in powershell without new-localuser code example
Example: popwershell add local user
$Password = Read-Host -AsSecureString
New-LocalUser "User03" -Password $Password -FullName "Third User" -Description "Description of this account."