Cmdlet -SetBypassedSenderDomains and -SetBypassedSenders issue
First, the whole "cmdlet" thing stinks!! To me, putting Exchange 2007 out on the market with a glorified MS-DOS prompt seems like the developers were lazy and the product is half finished!! I want to be able to use a GUI interface and get things done easily, efficiently and quickly. I don't want to spend 15-20 minutes on the internet trying to find commands to get things done. My problem is we are using the anti-spam feature (not well thought out) and I have to use the cmdlet to add users and domains to the safe senders list. I have added several domains and users, but they are still being blocked. When I used the -GetContentFilterConfig command, it only shows the last domain I added. For example, I add -SetContentFilterConfig -BypassedSenderDomains anydomain.com then awhile later I go back in and add -SetContentFilterConfig -BypassedSenderDomains mydomain.com When I go in and look after the first entry using the "get" cmdlet - anydomain.com is listed. When I go in and look after the second entry, only mydomain.com is listed!! Is it replacing my previous entries with the new entry?? This is the same with email addresses using the -SetBypassedSenders option - it appears any addition overwrites the previous entries. If this is the case, what good is this feature at all?? If it's not the case - then there are two issues - 1) how do you show a complete list? and 2) why is the list not working and allowing the email through? In addtion, I found that there is no way to remove email addresses or domains from this list (that anyone has been able to find any way). If anyone has any insight on this, I'd appreciate any help I can get. I am greatly regretting upgrading!
October 3rd, 2008 3:33pm

Hi, Yes your assumption is correct, it replaces the older entry when you run Set-ContentFilterConfig -BypassedSenderDomains "somedomain.com" command because "ByPassedSenderDomains" is a multi valued property. Here is a nice article Bharat wrote and it explains you how to udpate, add or delete the new values into it. HOW TO Update multi-valued attributes in PowerShell http://exchangepedia.com/blog/2007/02/how-to-update-multi-valued-attributes.html
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2008 4:32pm

You are wonderful, thank you!!
October 3rd, 2008 4:41pm

My Pleasure
Free Windows Admin Tool Kit Click here and download it now
October 3rd, 2008 4:43pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics