Active Directory (AD) - CMD to List the members in a AD Group

They are lot of commands to get to List the members in a AD Group. below step will work any workstation no matter what.

1. From Command Prompt
run the below cmd
>>Rundll32 dsquery.dll OpenQueryWindow
New window will open
enter the group name and click on 'find now'
below in the search result tab, you will see the Group Name, click on it.
new window will open with list of members :)


Other Commands:
>> net Group <AD-GroupName>
>> dsquery group -name <AD-GroupName> | dsget group -members -expand



No comments:

Post a Comment