Created
November 19, 2013 15:29
-
-
Save derekmurawsky/7547097 to your computer and use it in GitHub Desktop.
Create a user and add them to a group via the Windows command line and net command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net user UserName Password /ADD /FULLNAME:"Full Name" /PASSWORDCHG:Yes /EXPIRES:never /ACTIVE:yes /COMMENT:"Comment" | |
net localgroup GroupName UserName /add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment