List of members in the Domain

Server 2008 R2

List all members of the Domain Users group.

In PowerShell:
dsquery user -limit 0 > users.txt

The “> users.txt” saves the contents of the query in a file.
This file is a comma delimited text file, which can then be edited in Excel.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>