Hi @Roger Roger ,
The Get-ADGroupMember cmdlet will pull the member users of the nested groups as well when the "-Recursive" switch is used.
-Recursive
Specifies that the cmdlet get all members in the hierarchy of a group that do not contain child objects.
The below help document can be helpful.
https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adgroupmember
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.