Net Group Command In Windows Server 2008
This article explains the Net Group command in Windows Server 2008 and syntax related with it.
Introduction
Net group command in Windows Server 2008 is used to adds, displays and modifies global groups in domains. This is a command line tool that is built in the windows vista. Syntax used for Net group command is given below.
Syntax
net group [<GroupName> [/Comment : "<Text>"]] [/domain]
net group [<GroupName> {/add [/comment : "<Text>"] | /delete} [/domain]
net group [<GroupName> <UserName> [ . . . ] {/add | /delete} [/domain]
|
Parameters For Net Group
Parameter |
Description |
<GroupName> |
Defines the name of the group to add, expand or delete. |
/comment:"<Text>" |
Adds a comment for the new or existing group. |
/domain |
Performs the operations on the domain controller in the current domain.. |
/add |
Adds a group or adds a user name to a group. |
/delete |
Deletes the group or deletes a user name to a group. |
<UserName> [ . . . ] |
Lists one or more user name to add or remove from the group. |
net help <command> |
Shows help for the specified net command. |
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here