Powershell AD Script
Get-ADUser -Properties Description -Filter 'Description -like "*Manager*"' -SearchBase 'DC=******, DC=local' | Export-Csv -path "C:\Users\********\OneDrive - *******\Desktop\description2.csv" -NoTypeInformation Get-ADUser -Properties office,company,Description -Filter 'Description -like "*Manager*"' -SearchBase 'DC=***, DC=local' | select GivenName,Surname,office,Company | Export-Csv -path "C:\Users\\description2.csv" -NoTypeInformation