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…

Check If AD User Is Member Of Group

This is my last Blogpost of the Year 2020, the year has not gone well for many of us, some have lost their jobs, and others have lost their loved ones because of COVID 19 pandemic. We are praying that New Year will start mitigating the sufferings and will bring light in everyone’s life. Today’s…

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…

Export direct reports Attributes from List of Managers

New day, new PowerShell Magic…. One of the customer manger has contacted usĀ  with the below requirement: Export particular attributes for Direct reports from multiple managers. Input will be provided via samacountnames of managers thru text file. Attribute List: Manager,FirstName, LastName, EmailAddress,Department, Location, Employeeid We have used PowerShell Active Directory Module to achieve this as…