从命令行获取用户的非截断Active Directory组 [英] Get user's non-truncated Active Directory groups from command line
本文介绍了从命令行获取用户的非截断Active Directory组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我经常使用 net user
命令来查看用户的AD组:
I often use the net user
command to have a look at AD groups for a user:
net user /DOMAIN <username>
这很好,但是组名称被截断为大约20个字符。在我的组织中,大多数组名都比这个长得多。
This works well, however the group names are truncated to around 20 characters. And in my organization, most group names are much longer than this.
有没有人知道通过命令行获取非截断AD组的方法?
Does anyone know of a way to get non-truncated AD groups through the command line?
推荐答案
您可以解析GPRESULT命令的输出。
You could parse the output from the GPRESULT command.
这篇关于从命令行获取用户的非截断Active Directory组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文