Hello,
I’m trying to write a script to display the AD group name and the count of members in the group. I’d like to do this for multiple groups, if possible.
This code displays the count for 1 AD group.
$ADGroupCnt = (Get-ADGroupMember -Identity "Group Name").count
Is there any way the code can be changed to include multiple groups and their member count?
I.E.)
AD Group Count Group1 300 Group2 400
Thanks,
Frank