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…