Jump to content

Recommended Posts

Posted

Im trying to get all our parents emails to a whitelist in exchange 2010

 

I can only find how to do this one at a time

 

any ideas

Posted

Hi,

 

You want to be using the following PowerShell Command to perform the task:

 

Update-Safelist -Identity [email protected] -Type SafeSenders

 

As you have quite a few people to add the to safe list, you can use powershell in order to maybe grab the information from a CSV File:

 

Import-CSV C:\ParentList.CSV | ForEach{Update-Safelist -Identity $_.ParentContact -Type SafeSenders}

 

I think that should do the trick, although I'm not a PS Guru! :-) Ensure that the header in the CSV File is ParentContact and then each email address is listed underneath.

 

I hope that helps,

James.

Posted (edited)

Thanks but I think that only works with items that are present in the AD

 

I have been using his for one offs

$list = (Get-ContentFilterConfig).BypassedSenders

$list.add("[email protected]")

Set-ContentFilterConfig -BypassedSenders $list

 

but need bulk

Edited by wickit

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...