Simple guide how to install the AntiSpam Agents in Exchange 2010.

Launch the Exchange Management Shell (EMS).

Navigate to the scripts directory where Exchange is installed. In this instance it is the default location:

  • C:\Program Files\Microsoft\Exchange\V14\Scripts
  • The next step is to run the Install-AntispamAgents.ps1 script.  Start typing in install and press tab, the first option will be the XML file, tab again and it will show the one above we looking for.
  • Press enter now to initiate the script.

As you can see above they were installed successfully, however we not finished yet.

The Transport Service needs to be restarted for the changes to take effect. Do this in your maintenance window or when it doesn’t affect business operation.

To see if everything was installed, you can run the following command from the same EMS window:

  • Get-TransportAgent

This now shows all the agents installed.

If you wanted to move one of them to a different priority you can run the following command:

  • Set-TransportAgent -Identity <the name of the agent> -Priority <number>

Hope it helps.

By edward