I have opened the Exchange Management Shell to execute the script so I can
configure connection filtering. When I try and run the script I get errors
instead and I'm not sure why. I have tried using both "./" and ".\" before
the script name but to no avail. I am thinking this is a permissions issue
but I can't figure it out. The account I am logged into the server under is
the Network Administrator Role. What am I doing wrong?
Thanks!
-Richard K
[PS] C:\program files\microsoft\Exchange
Server\Scripts>./install-AntispamAgents
.ps1
No valid agents.config file was found in 'C:\Program
Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for
tran
sport agents can be recovered by running
'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At C:\program files\microsoft\Exchange
Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "C:\Program
Files\Mi
crosoft\Exchange
Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At C:\program files\microsoft\Exchange
Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent
<<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'C:\Program
Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for
tran
sport agents can be recovered by running
'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At C:\program files\microsoft\Exchange
Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<<
nable-transportagent -Identity:
-Richard K
"Richard K" <rkok...@foxdtechllc.com> wrote in message
news:%23tkCwKt...@TK2MSFTNGP05.phx.gbl...