I have a csv file with 770 users in it. I was only given display names that are close to the AD display name (i.e.: some have middle initials that aren't in the csv). I need to get the samaccountnames for each display name and output them to another csv called output.
The samaccountnames are then going to be vetted and added to an AD group.
I've created a script but it keeps getting stuck. I'm guessing it has something to do with the -filter and -like commands I threw in there trying to get it to work.
ANY help is greatly appreciated.
arkain