Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 13303

Mailbox Rule

$
0
0

Hello everyone,

Is it possible to have a mailbox rule created automatically when added a new account on the Exchange Server? I need to have some mailbox rule created on all mailbox on my organization so I wouldn't need to create everything over again when new user is created.

I used powershell to create the rule on all accounts but it won't create automatically when I new account is added:

$mailboxes = Get-Mailbox -Organization myorganization
$mailboxes | % { New-InboxRule "forward" -Mailbox $_.alias -SubjectOrBodyContainsWords "specificword" -ForwardTo email@contosco.com -StopProcessingRules $true }

Thanks!!!


Flavio Ribeiro


Viewing all articles
Browse latest Browse all 13303

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>