Get-ADDirectReport: List a manger's direct reports without looping

This function lists a manger's direct reports using LDAP filters. With the -recusrive parameter, it will use 'LDAP matching rule in chain' to quickly return direct reports without costly looping. With the -properties parameter, you can specifcy which attributes you need without r

 
 
 
 
 
(0)
Add to favorites
Active Directory
11/26/2019
E-mail Twitter del.icio.us Digg Facebook
  • Some mistakes
    1 Posts | Last post January 14, 2020
    • In the script you have forgotten :
      
      the 's' at the end of function name : Get-ADDirectReport --> to Get-ADDirectReports
      
      And in the last command, i think the Get-ADuser manager1 must be removed no ?
      
      I will say a big thank's for your script ;)