Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Find Groups which has groups as its members.

Hi,

I want to find only groups which has a group as its member.Is there a script to do this.

Regards
Sharath
Avatar of Ron Malmstead
Ron Malmstead
Flag of United States of America image

dsquery group -name * -limit 10000 | dsget group -memberof
or
dsquery group -name * -limit 10000 | dsget group -memberof -expand
Avatar of bsharath

ASKER

Both these commands just displays the CN

"CN=Users-SGR,OU=Security Groups,OU=IND,OU=Countries,DC=Development,DC=Group,DC=co,DC=in"
Any help...
Avatar of infernum
infernum

I would recommend ADManager, u can get it here:

http://manageengine.adventnet.com/products/ad-manager/index.html

But you can do that from active directory it self, right click the user, and check the member of tab and you will see all his group memberships.
If i wanted to thinks for single group there are many on the net.Thats the problem i want to do it on all the groups...

For all my queries i would mostly require a script which can scall all users,Groups or computers to get such data.

If Admanager can do this for group and find all the groups which are in it .It would be great...

THX
Sharath
ASKER CERTIFIED SOLUTION
Avatar of infernum
infernum

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial