Forum Discussion

fstorer's avatar
fstorer
Brass Contributor
Mar 06, 2020
Solved

Exchange Online - Add additional email addresses to a "Focused Inbox" Transport Rule

Hello everyone,

 

We set a transport rule a few weeks ago to move all emails coming from a list of specific people into the "Focused" section in Outlook.

Now I need to add additional email addresses to that list. I know that I can edit the rule via the Exchange admin center, but I would like to do that via PowerShell.

This was the original command:

 

New-TransportRule -Name "Focused Inbox VIP" -From "x@school.com","y@school.com","z@school.com" -SetHeaderName "X-MS-Exchange-Organization-BypassFocusedInbox" -SetHeaderValue "true"
 
If I use the following command:
 
Set-TransportRule -Name "Focused Inbox VIP" -From "a@school.com","b@school.com","c@school.com",
 
will the new addresses be added to the previous list or will the list be overwritten and replaced with the new email addresses?
 
Thank you in advance for your help!
  • If you do it like that, they will be overwritten, you have to specify the full list instead. Some properties support the hashtable notation, making it easier to add/remove entries, but that's not the case here.

1 Reply

  • If you do it like that, they will be overwritten, you have to specify the full list instead. Some properties support the hashtable notation, making it easier to add/remove entries, but that's not the case here.