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

Generating Event ID 91, 44 with CA (In Event Viewer with source as Certsvc)

Group policy default policy cannot be edited because network name not found

Problem when changing update source