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?