I am currently using the following command:
Get-ADGroupMember -Identity “ISE-EEFF-SDA-STANDARD” | Select Name,SamAccountName,DistinguishedName | Export-CSV -Path ISE-EEFF-SDA-STANDARD.csv -NoTypeInformation
I am wanting to expand it so that I also get first (givenName), and last names (SN). How would I go about doing this?