DS query for users and group membership
hello all,
i hoping ds command generate text file show me list of users in ou , respective groups.
if not possible powershell great.
thank in advance.
hi,
if want display list of members of group, try use dsget command. example, when want list of members of backup operators group, please type following command: dsget group "cn=backup operators,ou=test,dc=contoso,dc=com" -members –expand. details command, please try refer following microsoft kb article.
dsget group
http://technet.microsoft.com/en-us/library/cc731202(v=ws.10).aspx
additionally, make query via script , powershell. details, please refer following articles.
how can list members of group in alphabetical order?
list group members in active directory
http://gallery.technet.microsoft.com/scriptcenter/dcc9432e-d541-4be2-a39c-637c8d4c9fd0
list members of large group
http://gallery.technet.microsoft.com/scriptcenter/list-members-of-large-group-0eea0132
if have script related issue, please try ask in script forum.
the official scripting guys forum!
http://social.technet.microsoft.com/forums/en-us/itcg/threads
regards,
andy
Windows Server > Directory Services
Comments
Post a Comment