I think I can create a user with the net user command what about a local
group with specified domain ID/groups?

net group <aLclGrpname> /add
net group <aLclGrpname> <domain\usrID> /add

what is the /domain switch for? if omit that /domain, would <groupname>
apply to the group being local?

Re: how to create local group from command line by John

John
Thu Aug 21 11:05:28 PDT 2008

Net localgroup. Net localgroup /? for help.

John

gs wrote:

> I think I can create a user with the net user command what about a local
> group with specified domain ID/groups?
>
> net group <aLclGrpname> /add
> net group <aLclGrpname> <domain\usrID> /add
>
> what is the /domain switch for? if omit that /domain, would <groupname>
> apply to the group being local?
>
>