Distribution Group based on Head of Organization

Another Day another PowerShell Spell Recently, I have been contacted by one of our clients to create a solution that will automate the membership of a distribution group based on organization head. Any users under hierarchy of Vice president should be member of this group. (so we will need to recursively fetch the direct reports…

Get AD Group Members Recursively

Many of us use PowerShell Active Directory Module and have been stumbled upon this issue as this module does not have option to get indirect membership. I have utilized Quest Active Directory module a lot and that has nice option to get nested group membership with -indirect parameter. Get-QADGroupMember -Identity “Test Nested Group members” -Indirect…

Group Member Count Daily Report

One of our customer requested for Powershell solution to monitor group membership count. Send a daily count of members in that group. Send the CSV report attached that contains all members of the group. They want to monitor it so as to remain below certain number, as that group was being used for licensing for…