使用 Net.exe,如何添加具有 Windows 计算机管理中所示'Description'字段的用户组?



我知道如何使用net.exe添加用户组:

net localgroup/group madeupgroupname /add

这个简单的问题让我难以回答,也许是因为它很明显:"您如何执行此操作,并更改在计算机管理中查看组时出现的描述?

我看到了代码:

net localgroup/group madeupgroupname /comment:"This is a comment." /add

但评论不是描述...

原来评论就是描述,所以这就是答案:

net localgroup/group madeupgroupname /comment:"This is a comment." /add

相关内容

最新更新