I’m new to PowerShell and I’m trying to add three proxyAddresses to each of my AD users. There are 3 domains that are used for email and each user uses one of those 3 domains as their SMTP: address and the other two need to be smtp: addresses. I was able to populate all of my AD users with our legacy email domains (with another script that someone helped me with), but I’m having trouble with having a script recognize the user’s existing SMTP: address as “firstname.lastname@example.org” and adding the other two as smtp:email@example.com. If everyone used the same SMTP: domain I could do it, but having to look at the user’s current SMTP:, not touching it, and adding the other two domains as smtp: is really confusing me.
Could someone help me with a script for this, please?