remove 2nd smtp address

Import-Csv “c:\temp\remove.csv” |ForEach-Object {set-remoteMailbox $_.email -EmailAddresses @{remove=”$_.Remove”}}

csv file

email,remove

email1,email2