This post shows two functions to draw member trees. The functions are almost identical, a variation on a theme. The first shows group membership by following memberOf, the second shows members of a group by following member.

In both cases the functions are demonstrative; output is written using Write-Host and cannot be redirected to a file without changing that.

Following MemberOf

Following member

Leave a Reply

Your email address will not be published. Required fields are marked *