If you need to query for the member's present in a AD group is -
csvde -f report.txt -r (sAMAccountName=) -l member
Substitute thewith the group you want eg SalesGroup and the report will be generated as report.txt.
csvde -f report.txt -r (sAMAccountName=SalesGroup) -l member
csvde -f report.txt -r (sAMAccountName=
Substitute the
csvde -f report.txt -r (sAMAccountName=SalesGroup) -l member
1 comment:
For local groups on server you can do net localgroup ...just an fyi.
Post a Comment