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

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

相关文章: