PowerShell AD Manager Report

We can generate a list of users and their corresponding managers entered against AD user objects by using Powershell. echo user1, user2, user3 | get-aduser -Properties manager | Select-Object -Property Name, @{label='Manager';expression={$_.manager -replace '^CN=|,.* Replace user1, user2, user3 with usernames of objects. We can export this list by adding the line | Export-CSV "C:\LineManagers.csv"   … Continue reading PowerShell AD Manager Report