Powershell & cmdlet - In a Nutshell - Part 9 - Modifying Transport Agent using Set-TransportAgent cmdlet (Exchange Management Shell)
Modifying Exchange Transport Agent
For administer transport agents, we must use the Set-TransportAgent cmdlet (Exchange Management Shell). For its details syntax and parameters, please refer here.
The following example shows how the priority of a sample agent for Exchange agent would be modified. You can use the Exchange Management Shell to modify the priority of an existing transport agent by using,
Set-TransportAgent "Sample Agent for Exchange" -Priority 2
Note: