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 to bufwi6xej Cancel reply

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