Count of users in AD groups
Posted on 2009-04-01
My environment is AD 2003 functional level.
I have a bunch of AD groups (Global security groups, Universal sec groups, DL's etc) that I want to find out the following for;
a) Number of users within that group
b) List of users within that group [nice to have]
An example name of group is $file-london-hr.
I've read some previous posts on EE regarding Quest Powershell, but for some reason if I use the following command to get a count, I get nothing;
Get-QADGroup -Identity "$file-london-hr" | Get-QADGroupMember | measure-object
[Using on a Global Security group]
Does anyone know any straightfoward DSGet commands I can use to get the count, or alternatively know what is wrong with my Powershell command?
Any help would be much appreciated.