When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.
You need to query each individual user account the same way you determine the group description with a calculated property.
BUT: Depending on the groups you’re processing there could be a lot of redundancy when you query a lot users who are members of multiple groups at the same time.
Hello Olaf,
Thank you for that, I’ve edited the post to have the correct format (sorry for that).
So you think I should do it same way as for the group description something like that: Get-ADGroupMember $group | for each {$user = get-aduser $_ -properties mail etc