Exchange Server 2010
I am trying to use Powershell to get the email addresses that were returned as Undeliverable. I've tried a bunch of Powershell commands, but I always get the firstname.lastname@example.org as the sender, not the email address that was used when the email was sent.
Email sent to invalid address: email@example.com
Email sent back as Undeliverable from: firstname.lastname@example.org
I need to know that email sent to email@example.com was Undeliverable.
Is this possible? Does anyone know the correct Powershell command?