Professional Windows Server 1002003 Security A Technical Reference [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional Windows Server 1002003 Security A Technical Reference [Electronic resources] - نسخه متنی

Roberta Bragg

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









net localgroup

Creates local groups or
modifies their membership.

Syntax


net localgroup [groupname [/comment:"text"] ] [/domain] 
net localgroup groupname {/add [/comment:"text"] | /delete} [/domain]
net localgroup groupname username [...] {/add | /delete} [/domain]

Options


None



Lists local groups on the server.


groupname



Shows the name of a group to create, delete, or modify the membership
of.


/comment:"text"



Describes a group (up to 48 characters).


/domain



If omitted, performs the command on the local computer (which must be
a domain controller). To manage groups from a workstation, use this
switch.


username[...]



Adds or removes user account(s) from the group (separate with spaces).


/add



Creates a new group or adds existing users to an existing group.


/delete



Deletes a group or removes users from a group.



Examples


List all local groups in the domain:

net localgroup
Aliases for \\TEST
-----------------------------------------------------
*Account Operators *Administrators *Backup Operators
*DHCP Administrators *DHCP Users *DnsAdmins
*Guests *NetShow Administrators *Pre-W2K Compatible
*Print Operators *RAS and IAS Servers *Replicator
*Server Operators *Users *WINS Users
The command completed successfully.

Create a new local group called Color Printers:

net localgroup "Color Printers" /add
The command completed successfully.

Add the Domain Users global group to the Color Printers local group:

net localgroup "Color Printers" "domain users" /add
The command completed successfully.

List the members of Color Printers:

net localgroup "Color Printers"
Alias name Color Printers
Comment
Members
-----------------------------------------------------
Domain Users
The command completed successfully.

Notes


  • net localgroup can also be typed net
    localgroups
    .

  • Use double quotes around group names with embedded spaces, such as
    "domain users."

  • In the output of the command, an asterisk preceding a group name
    indicates that it includes both users and groups.


See Also


Groups , net accounts,
net group, net user


/ 415