Applies to: Exchange Server 2013

This topic no longer applies to the cloud-based service. It applies only to on-premises Exchange 2013. To see the current version of the topic that applies to the cloud-based service, change the (v=exchg.150) value in the URL to (v=exchg.160).

Use the Get-TransportRuleAction cmdlet to retrieve a list of all available transport rule actions that can be used when creating a transport rule.

For information about the parameter sets in the Syntax section below, see Syntax.

Get-TransportRuleAction [-Name <String>]

This example returns all available transport rule actions.


This example retrieves detailed information about a single transport rule action. The command is piped to the Format-List command to display all properties of the transport rule action.

Get-TransportRuleAction -Name DeleteMessage | Format-List

For more information about pipelining, see Pipelining. For more information about how to work with the output of a command, see Working with command output.

The Get-TransportRuleAction cmdlet displays a list of available actions you can use in transport.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Transport rules" entry in the Messaging policy and compliance permissions topic.


Parameter Required Type Description




The Name parameter specifies the rule action to display. For a list of values that can be used with this parameter on the server role that you're administering, see Transport rule actions.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.