Help Us Improve the Transport Rules Experience
Published Jul 07 2008 03:33 PM 2,181 Views

We're exploring making improvements to the experience of configuring Transport Rules. As part of this, we want to make sure we account for exactly how you are using Transport Rules today. The script linked to below will output some Transport Rules usage data. If you are using transport rules today in Exchange 2007, we'd love it if you could run it and send us the results.

To run the script, follow these steps:

1. Open TransportRuleUsage.txt by clicking here.

2. Copy and paste the text into a new .ps1 file on your Exchange server called TransportRuleUsage.ps1. Make sure the server you save it on is domain-joined.

3. Open up PowerShell, navigate to the folder that contains TransportRuleUsage.ps1, and run the following command:

PS> .\TransportRuleUsage.ps1

4. Send the output (TransportRuleOutput.txt) to benneu AT microsoft DOT com.

Note: This script is not officially supported by Microsoft. For a full disclaimer please read the comment section at the beginning of the script.

The text file TransportRuleOutput.txt contains no information specific to your organization, just a simple count of the conditions, actions, and exceptions used by your Transport Rules.  Below is an example of the data it returns. The "Value" field is the number of times that Condition/Action/Exception appeared in your Transport Rules.

Actions
Name                          Value
----                          -----
PrependSubject                1
RejectMessage                 1

Conditions
Name                          Value
----                          -----
FromMemberOf                  1
SubjectOrBodyContains         1

Condition-Action-Exception Construction

Name  : Conditions: 1 Actions: 1
Value : 5

Name  : Conditions: 1 Actions: 1 Exceptions: 1
Value : 1

Thank you for your help, and please let me know if you have any questions.

- Ben Neuwirth

7 Comments
Version history
Last update:
‎Jul 01 2019 03:38 PM
Updated by: