To accomplish this we can use PowerShell.
In this tutorial, I will walk through the steps for exporting group members to a csv file.
Let’s get started.
Step 1: Load the Active Directory Module
To connect and query an AD group with PowerShell the Active Directory module needs to be loaded.
The Active Directory module can be installed with the following methods:
- Having RSAT tools installed
- Windows Server 208 R2 and above with the AD DS or AD LDS server roles
You can run the following command to see if you have installed
Get-Module -Listavailable
Continue reading “PowerShell: Export Active Directory Group Members”