Hello all. Love how there isn't a category on the forums for Exchange 2010.. Anyhow, I am trying to add a single e-mail address to safe senders for all mailboxes. I found the following commands work for adding an address to a single mailbox. How would the syntax need to change to preserve everyone's unique settings and add just one address?
$Address = Get-MailboxJunkEmailConfiguration "username"
$Address.newentry += "test@domain.org"
$Address.TrustedSendersAndDomains += "test@domain.org"
Set-MailboxJunkEmailConfiguration "username" -TrustedSendersAndDomains $Address.TrustedSendersAndDomains