使用 Net.exe,如何添加具有 'Description' 字段的用户组,如 Windows 计算机管理中所示?
Using Net.exe, how do you add a user group with a 'Description' field as shown in Windows Computer Management?
我知道如何使用 net.exe 添加用户组:
net localgroup/group madeupgroupname /add
这个简单的问题让我难以理解,也许是因为它很明显:"How do you do this, and change the description that appears when you view the groups in computer management?"
我看到了代码:
net localgroup/group madeupgroupname /comment:"This is a comment." /add
但评论不是描述...
原来评论是描述,所以这是答案:
net localgroup/group madeupgroupname /comment:"This is a comment." /add
我知道如何使用 net.exe 添加用户组:
net localgroup/group madeupgroupname /add
这个简单的问题让我难以理解,也许是因为它很明显:"How do you do this, and change the description that appears when you view the groups in computer management?"
我看到了代码:
net localgroup/group madeupgroupname /comment:"This is a comment." /add
但评论不是描述...
原来评论是描述,所以这是答案:
net localgroup/group madeupgroupname /comment:"This is a comment." /add