I thank you in advance for clicking on this post!
I want to warn you that I'm no coding guru - I apologize for that.
I'm hoping I some one could assist me in the creation of a saved query in AD that would report all users in group X. From time to time it would be nice to see what users are members of certain groups. Going to the group and getting the user ID is great - but then I have to get their full name (First and Last). A query that would report this information could be very useful.
I thought it would look something like this:
Expand|Select|Wrap|Line Numbers
- (&(objectCategory=group)(objectCategory=user)(givenName=*)(sn=*)(cn=*)(userPrincipalName=*)(cn=GROUP_NAME_HERE))
Expand|Select|Wrap|Line Numbers
- (&(objectCategory=person)(objectClass=user)(&(objectCategory=group)(name=GROUP_NAME_HERE))
But obviously I'm wrong. Could someone shed some light on what I'm doing wrong and how I can properly construct AD queries?
Sorry for any inconveniences this may have caused, especially if this is in the wrong group.