Filter Members of specific distribution group

  • Thread starter Thread starter Hassan110
  • Start date Start date
H

Hassan110

How can I export all users (with all of thier AD information) in excel
who belong to specific distribution groups?

I tried to use CSVDE -f c:\onlyusers.csv -r objectCategory=person
 
How can I export all users (with all of thier AD information) in excel
who belong to specific distribution groups?

I tried to use CSVDE -f c:\onlyusers.csv -r objectCategory=person

try the filter (watch line wrapping):

r
(&(objectCategory=person)(memberOf=cn=Mygroup,ou=Sales,dc=MyDomain,dc=com))

You must specify the Distinguished Name of the distribution group. In fact,
unless you have members of the group that are not users, you can use:

r (memberOf=cn=Mygroup,ou=Sales,dc=MyDomain,dc=com)

If you need to filter on members of several groups, you can Or them with the
| operator.
 
How can I export all users (with all of thier AD information) in excel
who belong to specific distribution groups?

I tried to use CSVDE -f c:\onlyusers.csv -r objectCategory=person

Works fine here. (Using your exact syntax, copied and pasted to
command line).

What errors did you get?

What is the SPECIFIC problem you experienced including any
error messages and numbers.

We presume you are a Domain Admin? Right?
 
Back
Top