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 email@example.com as the sender, not the email address that was used when the email was sent.
Email sent to invalid address: firstname.lastname@example.org
Email sent back as Undeliverable from: email@example.com
I need to know that email sent to firstname.lastname@example.org was Undeliverable.
Is this possible? Does anyone know the correct Powershell command?