How to export list of users in AD Security Group

Simple, and works in multiple domain environments–

Step 1

Open PowerShell

Step 2

import-module ActiveDirectory

Step 3

Get-ADGroupMember -Identity 'Distinguished Name of AD Security Group' -Server 'FQDN of domain' -Recursive | Select Name >export.csv

Leave a Reply

Close Menu