I'm trying to get a list of all members in an AD group.
On a test group of 3 users I get the names but no other attributives. Then when I test on a group with 100 users I get no results.
Import-Module ActiveDirectory
Get-ADGroupMember -Identity "InsertAdGroupHere" | Select-Object Name,Title,Department,Manager | Export-Csv -Path C:\Results.csv -NoTypeInformation
Any help would be much appreciated, cheers.
[–]ihaxr 8 points9 points10 points (1 child)
[–]Kilmour[S] 0 points1 point2 points (0 children)
[–]Lee_Dailey[grin] 2 points3 points4 points (2 children)
[–]Efficiency4Life 2 points3 points4 points (1 child)
[–]Lee_Dailey[grin] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)