Home
> Commands N-Z
> Commands N
NET GROUP
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Adds, displays, or modifies global groups on servers.
Syntax
NET HELP GROUP
NET GROUP
[groupname
[/COMMENT:"text"]]
[/DOMAIN]
NET GROUP
groupname
{/ADD
[/COMMENT:"text"]
| /DELETE}
[/DOMAIN]
NET GROUP
groupname
username [...]
{/ADD
| /DELETE}
[/DOMAIN]
Displays the groupnames on the server:
NET GROUP
Parameters
- Groupname
(NT3.1)
- Is the name of the group to add, expand, or delete.
Supply only a groupname to view a list of users in a group.
- username [...]
(NT3.1)
- Lists one or more usernames to add to or remove from
a group. Separate multiple username entries with a space.
Switches
- /ADD
(NT3.1)
- Adds a group, or adds a username to a group.
- /COMMENT:"text"
(NT3.1)
- Adds a comment for a new or existing group.
The comment can have as many as 48 characters. Enclose
the text in quotation marks.
- /DELETE
(NT3.1)
- Removes a group, or removes a username from a group.
- /DOMAIN
(NT3.1)
- Performs the operation on a domain controller
of the current domain. Otherwise, the operation is
performed on the local computer.
Related
none.
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT3.1
NT3.5
NT3.51
NT4
NTXP
NT2003
Last Updated: 2006/12/01
Direct corrections or suggestions to:
Rick Lively