Exclude smtp word

Get-ADUser -Filter * -SearchBase '<OU-Location>' -Properties proxyaddresses | Select-Object Name, @{ L = "ProxyAddresses"; E = { $_.ProxyAddresses -join ";" | Where-Object { ProxyAddresses -eq "*smtp:*" } } } | Export-Csv -Path "<Path>" –NoTypeInformation

Hello all,

I am new to powershell and i was working on extracting user proxy addresses values from AD without smtp populated. i.e., with above code, i can get the smtp addresses removing x400 and x509 values. however, i would also need to remove SMPT/smtp word and would require only user@xyc.com;user2@abc.com,....

Any help on this would be highly appreciated.