This is is quite a cool property of an object … The TargetAddress property specifies the delivery address to which e-mail for this recipient should be sent.
So if you have played with the Quest Migration Tools you will know that this magic property is what they use to control where email is sent. Anyway, I want to see how easy it is to update the propery on a user object, and it’s really simple with Powershell!
$user = [ADSI]LDAP://:389/
$user.targetAddress = SMTP:firstname.lastname@example.org
thats its it .. how cool is that
UPDATE: Many thanks to Henrik Walther for picking up on my copy and paste mistake (wow I didn’t realise he read this blog .. cool). Henrik also mentioned that this method isn’t supported by MS and that things such as a mailbox move wipes out the address