detox1978
asked on
Help with; DSGET Contact -memberof
Hi All,
I want to get a list of groups that our contacts are in?
I can't see the switch -memberof
Any help?
I want to get a list of groups that our contacts are in?
I can't see the switch -memberof
Any help?
Hi!
Switch -memberof is available in command dsget user:
"dsget user "cn=Jon Smith,cn=users,dc=microsof t,dc=com" -memberof "
It would help if you post more details.
HTH
Toni
Switch -memberof is available in command dsget user:
"dsget user "cn=Jon Smith,cn=users,dc=microsof
It would help if you post more details.
HTH
Toni
ASKER
Hi All,
I want to get a list of the groups that our contacts (thats AD contacts, used to forward email).
e.g.
my-email-forward is a contact with AD, i want to know what groups it's a member of. I'm pretty sure you use DSGET CONTACT to get contact information....
I want to get a list of the groups that our contacts (thats AD contacts, used to forward email).
e.g.
my-email-forward is a contact with AD, i want to know what groups it's a member of. I'm pretty sure you use DSGET CONTACT to get contact information....
Unfortunately, dsget contact does not support -memberof switch. Perhaps you should check ADFIND utilty from www. joeware.net, but at this point I'm not sure it will help.
ASKER
i had a look at ADFIND, but got quickly confused.... any pointers?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this:
adfind -b dc=domain,dc=com -f "&(objectcategory=person)( objectclas s=contact) " memberof -nodn -nolabel -csv
adfind -b dc=domain,dc=com -f "&(objectcategory=person)(
C:\>dsquery * domainroot -filter "&(objectcategory=group)(m