Create a User Account with PowerShell
Today I learned how to create a user account on Windows 10 using PowerShell. Let’s create a small exercise to demonstrate how can this be easily done. Task: “Create a local user account named ’localaccount’ with the password BlueHat. This new user should have admin privilege.” First, launch the PowerShell (terminal?), by running as Administrator. The password will be stored in a variable called $Password: $Password = Read-Host -AsSecureString ******* Now we’re ready to create a new local account:...