Hi @连国 于
Here is a english forum, Please try to post in English next time. Regarding your question ,You should use a powershell command to export all members of each group in CSV file. Below a example of Powershell command you can use in your script:
Get-ADGroupMember -identity $group |
Get-ADUser |
Select-Object GivenName, SamaccountName, @{name="group";expression={$group}} |
Export-CSV c:\members.csv -NoTypeInformation
Please don't forget to accept helpful answer