Add user to group from command line

Friday, September 25, 2009 Leave a Comment

We can add users to a group from command line too. We can use net localgroup command for this.
For example to add user John to administrators group we can run the below command.
net localgroup administrators John /add

Relevant links:

0 comments »

Leave your response!