Query active directory groups for members from secondary thrusted domain


hello,
try find information ad query list of groups in domain contains users secondary, thrusted domain.
need list of groups , containing users.
tried use "saved queries" in users&computers mmc , dsquery tool, not find suitable filter that.
have idea if , how possible?

thanks & regards
thomas

hello,

i think better query ad csv file containing groups member attribute:

for /f "tokens=*" %%s in ('dsquery group "dc=contoso,dc=com" -limit 0') (
/f "tokens=*" %%p in ('dsquery * %%s -attr member ^|find /v "member"') (
echo %%s ; %%p >> %%f.csv
)
)

once done, can use excel filter groups trusted domains.

however, can still ask them here:  http://social.technet.microsoft.com/forums/en/itcg/threads/


this posting provided "as is" no warranties or guarantees , , confers no rights.   

microsoft student partner 2010 / 2011
microsoft certified professional
microsoft certified systems administrator: security
microsoft certified systems engineer: security
microsoft certified technology specialist: windows server 2008 active directory, configuration
microsoft certified technology specialist: windows server 2008 network infrastructure, configuration
microsoft certified technology specialist: windows server 2008 applications infrastructure, configuration
microsoft certified technology specialist: windows 7, configuring
microsoft certified technology specialist: designing , providing volume licensing solutions large organizations
microsoft certified professional: enterprise administrator
microsoft certified professional: server administrator
microsoft certified trainer



Windows Server  >  Directory Services



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Domain migration ERR3:7075 Failed to change domain affiliation, hr=8007054a This operation is only allowed for the Primary Domain Controller of the domain

How do a find data in one file, search for it in another file and if not found, write a custom message to another file