Export a list of users from Domain Users group

Hi Guys,

Can someone please tell me how i can get this working, i know there is a limit to searches i just dont know the command to add on to bypass it.

PS C:Windowssystem32> Get-ADGroupMember -identity “Domain Users” | select name | Export-csv -path C:tempusers.csv -NoTypeInformation

Get-ADGroupMember : The size limit for this request was exceeded

At line:1 char:1

+ Get-ADGroupMember -identity “Domain Users” | select name | Export-csv -path C:t …

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (Domain Users:ADGroup) [Get-ADGroupMember], ADException

+ FullyQualifiedErrorId : ActiveDirectoryServer:8227,Microsoft.ActiveDirectory.Management.Commands.GetADGroupM

ember

I need to get an export for the “domain users” security group, if there is a better way to do this then i am open to suggestions.

Thank you

submitted by /u/nate009
[link] [comments]

Leave a Reply