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
Post a Comment