Hi
I currently use several seperate commands to update the whitelist on both senderid and contentfilter spam filters on Edge server (ex2007).
Goes a little something like this:
$List = (Get-ContentFilterConfig).BypassedSenderDomains
$list - to display list of variables
$List.add("microsoft.com”)
$list - to check list of variables
set-contentfilterconfig -BypassedSenderDomains:$list
get-contentfilterconfig - to check new entries
I do it this way to avoid overwriting existing entries in this field. This process in essence updates the existing list of whitelist entries whilst adding my new entry.
I want to create a script that does the above automatically, either by prompting for the new entry/domain or by putting it into a adjoining text file where it can be read.
Any ideas or pointers would be great thanks.
I currently use several seperate commands to update the whitelist on both senderid and contentfilter spam filters on Edge server (ex2007).
Goes a little something like this:
$List = (Get-ContentFilterConfig).BypassedSenderDomains
$list - to display list of variables
$List.add("microsoft.com”)
$list - to check list of variables
set-contentfilterconfig -BypassedSenderDomains:$list
get-contentfilterconfig - to check new entries
I do it this way to avoid overwriting existing entries in this field. This process in essence updates the existing list of whitelist entries whilst adding my new entry.
I want to create a script that does the above automatically, either by prompting for the new entry/domain or by putting it into a adjoining text file where it can be read.
Any ideas or pointers would be great thanks.