Get-ADGroupMember “YOUR GROUP” | Select Name, SamAccountName | Export-Csv -Path “C:\Temp\Output.csv” -NoTypeInformation
Comments
Post a Comment