Christian Hans
asked on
AD Lookup via EmployeeID > Export user info to csv
I have a CSV/TXT file with the heading of EmployeeID
How can I export a list to csv from AD that contains only the users listed in that EmployeeID file via powershell?
Example:
EmployeeID
3374
3550
3401
I want the command to find the EmployeeID "3374" (for example) and export the userprincipalname, displayname, samaccount etc...
How can I export a list to csv from AD that contains only the users listed in that EmployeeID file via powershell?
Example:
EmployeeID
3374
3550
3401
I want the command to find the EmployeeID "3374" (for example) and export the userprincipalname, displayname, samaccount etc...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In addition to using a powershell command. I would highly recommend using Active Directory Explorer, it is simple to use and will allow you to create your own search criterias with ease.
Script will do as requested.