得到命令行用户AD组(非截断) [英] Get users AD groups from command line (non-truncated)
本文介绍了得到命令行用户AD组(非截断)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我经常使用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?
推荐答案
您可以解析从G preSULT命令的输出。
You could parse the output from the GPRESULT command.
这篇关于得到命令行用户AD组(非截断)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文