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