Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance forum
Viewing all articles
Browse latest Browse all 9032

powerhsell create rule for sent messages

$
0
0

Hello, I need rules to move internal received emails in a separate folder and also internally sent emails.

For the internal received emails, I got the following script

New-InboxRule `
            -Mailbox $email `
            -Name $INTERN_INBOX_RULE_NAME `
            -MoveToFolder "$($email):\$($INTERN_INBOX_FOLDER_NAME)" `
            -From $fromFilter `
            -StopProcessingRules $true `
            -Confirm:$false `> $null

Though I did not find any solution to configure a rule for sent emails. Is there no option to do this with a Powershell script? 

I need to configure these rules, for every new user which gets created and have to maintain these rules.

And if it is not possible, is there any other solution to achieve a maintainable system?





Viewing all articles
Browse latest Browse all 9032

Trending Articles



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