Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Setting up AntispamAgents on Exchange 2013

$
0
0

I am somewhat new to the IT world and trying to learn as I go.  We currently had a Domain Server and Exchange server installed at my place of business and we are getting TONS of spam in our inboxes.  Some of us get 400 per day. That being said, I have been following tutorials on how spam agents within Exchange however, I keep getting errors when trying to ".\install-antispamagents.ps1", see below:

Get-TransportService : The term 'Get-TransportService' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At D:\Program Files\Microsoft\Exchange Server\V15\Scripts\install-AntispamAgents.ps1:19 char:20
+ $transportserver = Get-TransportService -id $localservername
+                    ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-TransportService:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Get-ExchangeServer : The term 'Get-ExchangeServer' is not recognized as the name of a cmdlet, function, script file,
or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At D:\Program Files\Microsoft\Exchange Server\V15\Scripts\install-AntispamAgents.ps1:22 char:19
+ $exchangeServer = Get-ExchangeServer -id $localservername
+                   ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-ExchangeServer:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

 I am not sure what to do from here, but I have made sure I have administrative rights. Other than that, I am clueless.  Any help is greatly appreciated.



Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>