Exclusively for TechExams members for Infosec Boot Camps starting before April 30, 2026
Everyone wrote: » Try the Quest AD PowerShell tools... PowerShell Commands (CMDLETs) for Active Directory by Quest Software The "Get-QADGroupMember" command should do what you want... pipe it into an Out-File command to **** it into a text file.Also sounds like you need to get a better understanding of AD groups...Group scope: Active Directory
Repo Man wrote: » Appreciate any help or links someone can provide. I'm trying to find a way to export members of domain local groups which span multiple domains. I'm able to use dsquery/dsget for global groups but using the same syntax and domain local groups the exported file only shows users in the domain in which I'm a member of. Does this need to be done in powershell, do I need additional permissions or am I missing something all together?
dsquery group -d company.com -name GroupName | dsget group -members -expand > Output.txt
Exclusively for TechExam members. Applies to boot camps starting before April 30, 2026.