The number of objects that Get-ADGroupMember can return is restricted by a limit in the Active Directory Web Services. And the limit is 5,000 unless a different value is provided in the config file.
Hence if you try to get member information of a group which has more than 5,000 objects in it, the limit will be breached and PowerShell will spit an error notifying that the limit for the request was exceeded.
This [article][1] explains multiple ways to getting the same result.
[1]: https://cloudiffic.com/get-adgroupmember-the-size-limit-for-this-request-was-exceeded-error/
The number of objects that Get-ADGroupMember can return is restricted by a limit in the Active Directory Web Services. And the limit is 5,000 unless a different value is provided in the config file.
Hence if you try to get member information of a group which has more than 5,000 objects in it, the limit will be breached and PowerShell will spit an error notifying that the limit for the request was exceeded.
This [article][1] explains multiple ways to getting the same result.
[1]: https://cloudiffic.com/get-adgroupmember-the-size-limit-for-this-request-was-exceeded-error/