How Do You Create a New User on a Windows 2016 Server with PowerShell?

Problem scenario
You want to use PowerShell to create a local user on the server.  What command do you run to do this?

Solution
1.  Open PowerShell as Administrator.  
2.  Run this (but replace "jane" with the username you want):   New-localuser -Name jane
# respond to the pop-up GUI with a password that is reasonably strong.

Leave a comment

Your email address will not be published. Required fields are marked *