Hi guys
I need to get users' EmployeeID (which is an included property in my company) from a container but I don't know how to make it work, this is what I got:
Get-Content C:\Users.txt | Get-QADuser -IncludedProperties EmployeeID | Select EmployeeID,DisplayName,SamAccountName | Export-CSV C:\IDs.csv
In the container are only the numbers of each user (company IDs), I need the script to gather those numbers and bring me the DisplayName, EmployeeID and the SamAccountName. When I run that script it doesn't do anything, no error, nothing.
Thanks all!