07 December 2013

Manage local group members from the command line

To list members of the local group "administrators":

net localgroup administrators

To add a member to the local group "administrators":

net localgroup administrators username /add

To remove a member from the local group "administrators":

net localgroup administrators username /delete

No comments:

Post a Comment