1: 2: 3: 4: 5:
Import-CSV C:\bah8.csv | foreach { $Temp = Get-DistributionGroup -identity $_.alias $proxys = $_.proxyaddresses.split(";") foreach($p in $proxy) { $Temp.EmailAddresses += $p } set-distributiongroup $temp -EmailAddresses $temp.emailaddresses }