Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Query Active Directory and export to Excel Column

$
0
0

Hey Scripting Guy,

I have an Excel Spreadsheet with a column of employees Last Name and another column with their First Name. I have a separate Column labeled  Username in which I need to populate based on the employees name. How can I query AD to search for the user matching my Last name and First name column and populate the samaccountname into the username column?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>