PowerShell to export desired Active Directory Group Members to a CVS File
This is simple script for choose some Active Directory group and export members that belong selected AD group to CSV file.
Get-ADGroupMember “YOUR GROUP” | Select Name, SamAccountName | Export-Csv -Path “C:\Temp\Output.csv” -NoTypeInformation
Comments
Post a Comment