Share via


How to Remove a BlockedSendersAndDomains Entry in a Specific Mailbox

Question

Monday, April 1, 2013 9:11 PM

Hi everyone and that you in advance for your help.

I am getting used to utilizing EMS to manage more things in Exchange 2010 and I am getting confused on the correct command to remove a BlockedSendersAndDomains entry in one of my users mailboxes.

I was looking at this article http://technet.microsoft.com/en-us/library/dd979780(v=exchg.150).aspx

Should I just run the following command?

$Temp = Get-MailboxJunkEmailConfiguration "My Users Mailbox Alias"
$Temp.TrustedSendersAndDomains += "Currently blocked Sender"
Set-MailboxJunkEmailConfiguration -Identity "My Users Mailbox Alias" -TrustedSendersAndDomains $Temp.TrustedSendersAndDomains

Or is there a way to just remove the entry instead of adding them to the trusted senders list?

Mike

All replies (2)

Tuesday, April 2, 2013 2:26 AM ✅Answered

Hope the following article with the powershell can help you:

http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/819e4d23-2ad5-4869-bbbf-793e03de95cf/ 

Nile Jiang- Please mark the post as answer if it answers your question. http://www.usefulshare.com


Tuesday, April 2, 2013 9:24 AM ✅Answered

Hi

To remove a BlockedSendersAndDomains entry, please try

$Temp = Get-MailboxJunkEmailConfiguration "My Users Mailbox Alias" $Temp.BlockedSendersAndDomains -= "Currently blocked Sender" Set-MailboxJunkEmailConfiguration -Identity "My Users Mailbox Alias" -BlockedSendersAndDomains$Temp.BlockedSendersAndDomains

Cheers

**If you have any feedback on
our support, please click here
**

Zi Feng
TechNet Community Support