Export users in group to CSV powershell

Get-ADGroupMember -identity “groupname” | select name | Export-csv -path “C:\temp\ADGroupMembers.csv” -NoTypeInformation

Leave a Reply