# Install anti spam on Hub Transport Server

Hi,

I am trying to install antispam on exchange 2010 hub transport. I have the command to do this (from technet)

& \$env:ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1

Thing is, I do not fully understand how to get to the said path, is this correct??

[PS] C:\program files\microsoft\exchange server\v14>scripts\installantispamagents.ps1
>>>>>>>>

I have tried it different way but cant seem to get it right, will appreciate any help on how to enter the command accurately.

~Richard
###### Who is Participating?

C:\program files\microsoft\exchange server\v14>cd Scripts

Please direct to Scripts folder and then run the PS1

C:\program files\microsoft\exchange server\v14\Scripts> .\
installantispamagents.ps1

- Rancy
0

Author Commented:
lol ..I had a tough time getting this to work, considering that I trust your advice 101%. I looked into the "scripts" folder and saw that its actually

C:\program files\microsoft\exchange server\v14\Scripts> .\install-antispamagents.ps1

notice the hyphen between install and antispamagents  (install-antispamagents.ps1)

Thanx so much Rancy ..

~Richard
0

- Rancy
0

Author Commented: