Command Line to list users in a Windows Active Directory Group

For a PowerShell solution that doesn’t require the Quest AD add-in, try the following
Import-Module ActiveDirectory

Get-ADGroupMember "Domain Admins" -recursive | Select-Object name 

This will enumerate the nested groups as well. If you don’t wish to do so, remove the -recursive switch.

Posted in Active Directory and tagged , , .

Leave a Reply