Does anyone else have this problem, or is it just me? I get stumped from time to time:
Somewhere there is a distribution group which in turn contains other distribution groups as members, as can be seen here in the example:
In der Praxis gibt es dann meist Verteiler, wie in etwa „Finanzen“, darunter dann wieder „Finanzen – Europa“, „Finanzen – Amerika“ oder „Finanzen – Asien“. Innnerhalb des Unterverteilers findet man dann wieder weitere Verteiler, bis das Ganze dann irgendwie leicht undurchsichtig wird:
At some point, after umpteen nested groups, the user account appears:
At some point it starts: Why does the user have write access to the folder XYZ or why does the user receive mails from the purchasing distribution list etc. etc.
This happens to me quite often, so I made a little PowerShell script for it.
The script works very simply:
The group in which a user is to be searched for is entered in the first 1 line. The user account to be searched for is entered in line 2:
When the script is executed, it now displays the group chain, which extends from the distribution group (or security group) down to the user object:
The script requires the ActiveDirectory module for the PowerShell. Maybe someone can use it. The script can be downloaded here: