Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance forum
Viewing all articles
Browse latest Browse all 9032

Exchange Server 2010 "MailboxJunkEmailConfiguration" cmdlet against all mailboxes

$
0
0

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


Viewing all articles
Browse latest Browse all 9032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>