Hi am trying to find out how I can use data from a csv file as search parameters within a script, for example: we have a program that outputs a users name, username, and email address in a csv file and I want to use the usernames within that file to search AD to make sure they are in the correct OU's etc. The rest of the script is fine but I dont know how I can make it use say the entries in the second column of the file one after the other so I can search hundreds at a time. Any ideas?

Cheers

John