
#CSV format 

#User,targetAddress
#user4,User4@Test.com
#user5,User5@Test.com



Import-Csv "c:\Temp\UserList2.csv" | % {Get-QADUser $_.User | Set-QADUser -ObjectAttributes @{targetAddress="SMTP:$($_.targetAddress)"}}


