check AD groups and


i'm dba , in our enviroment networkside don't install administrative tools on our computers.

but need check in ad, example see people in _dba group, , in proj_developers group. there easy way that, can query ad, think.

all can can use net group /domain group_name, see in group, there space in group name, , don't know syntax, makes work hard.

any easier way this? , used check group, member of group etc.


thanks


sqlfriend

if group name has spaces, enclose in quotes. example:

net group /domain "test group"

 

if don't know dn of group, use dsquery retrieve dn group name , pipe dsget retrieve membership. example:

dsquery group -name "test group" | dsget group -members

 

 


richard mueller - mvp directory services


Windows Server  >  Directory Services



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS