Here is what's happening: When I add quotes around the displaynames ("john smith") and save it as csv, when I open in notepad, it shows triple quotes around the names ("""john smith"""). Some how the formatting is wrong when I save it. Even when I save it as a text file, it still shows triple quotation marks.
$stuff = foreach($entry in import-csv inputfilename.csv){Get-Mai
$stuff | Export-Csv outputfilename.csv -notypeinformation
Your input csv file should be something like:
Displayname
User1
User2