Hello Jonathan,

Thank you very much for this information. I am having an issue with defining the first variable.

When I run the line Import-Csv C:alias.csv | ForEach-Object{ $name = $_.Name } and then run $name, only the last entry in the list of names shows, and therefore that is the only account that updates. Do you know how I can get the variable to store all of the values in the name column?

Best regards,
Brian