Domain group list


hi experts,

 

can please tell me how can list of groups in domain in text or excel file.

at command line of dc can use net group, , redirect text file. example:

net group > groups.txt

or, can use dsquery group group dn's:

dsquery group > groups.txt

or, group samaccountnames (pre-windows 2000 names), pipe dsget:

dsquery group | dsget group -samid > groups.txt

there many other ways. script or command line utility accepts ldap syntax filters (like adfind or dsquery *), use filter:

(objectcategory=group)


richard mueller - mvp directory services


Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client