How to list all E-Mail address in an Exchange Environment which contains:
info@
Write to console:
Get-Recipient -resultSize unlimited | select name -expand emailAddresses | where {$_.smtpAddress -match ".*info@.*"} | Format-Table name, smtpaddress
Write to file:
Get-Recipient -resultSize unlimited | select name -expand emailAddresses | where {$_.smtpAddress -match ".*info@.*"} | Format-Table name, smtpaddress > logfile.txt