首页 > 技术文章 > 统计AD组中的用户数量

victor0 2020-07-12 19:29 原文

$a=Read-Host "请输入要统计的用户组"

$(Get-ADGroupMember $a -Recursive).count

推荐阅读