Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows system command line NET LOCALGROUP command add delete update user group

2025-04-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

The syntax for this command is:

-

NET LOCALGROUP

[groupname [/ COMMENT: "text"]] [/ DOMAIN]

Groupname {/ ADD [/ COMMENT: "text"] | / DELETE} [/ DOMAIN]

Groupname name [...] {/ ADD | / DELETE} [/ DOMAIN]

Examples of usage:

1. New user group 1, described as "user group 1 description update"

NET LOCALGROUP user group 1 / add / comment: "user group 1 description update"

two。 Update user group description

NET LOCALGROUP user group 1 / comment: "user group 1 description update 222"

3. User groups add users

4. View the list of user groups NET LOCALGROUP

5. View the list of user groups

NET LOCALGROUP user Group 1

6. User groups delete users

7. Delete a user group

NET LOCALGROUP user Group 1 / delete

8. The user list of user groups is written to the txt file

NET LOCALGROUP user Group 1 > C:\ 1.TXT

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report