One comment on “Create transport rules

  1. The below code works in powershell to block gmail and btinternet from helpdesk, but i want them to go to helpdesk and block all other mail.

    New-TransportRule -Name ‘SupportL’ -Comments ” -Priority ‘0’ -Enabled $true -AnyOfToHeader ‘’ -RedirectMessageTo ‘’ -ExceptIfFromAddressContainsWords ‘gmail’,’btinternet’



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.