Was doing some statistics for our knowledge networks today. Our KN Facilitator said the other day, she'd really like to know how many unique members we had in our knowledge networks. Now, normally, that'd be a really timeconsuming task, however simple it was. Fortunately, I have PowerShell and the Quest AD commandlets. So it's actually this simple.
Get-QADGroupMember "Group Name Here" -Indirect | where {$_.Type -eq "User"} | sort
Get-QADGroupMember is the commandlet of choice, if you want to get members of a group.
However, if you don't just want a list of groups in that group, you should add the "-Indirect" parameter, which tells it to traverse the group hierarchy.
Since that would also get me all of the subgroups and public folders that are members of that main group, I need to search for users only. Hence, the added where clause.
And the final touch: Sorting the output.
In the future: I'll add a bit of statistics showing how many knowledge networks the members are part of, and if I can find a suitable graphical way of doing it, a map of the relations between the knowledge networks, based on member participation.
Comments [0]