$agentName = "HeaderAnalysisAgent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.HeaderAnalysis.HeaderAnalysisAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\HeaderAnalysis\Microsoft.Exchange.Transport.Agent.HeaderAnalysis.dll"); $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent -Identity:$agentName }; install-TransportAgent -Name:$agentName -TransportAgentFactory:$agentFactory -AssemblyPath:$agentAssembly; if ($agent.enabled -or ! $agent) { enable-transportagent -Identity:$agentName };
agentName = "DC Post Content Filter Agent"; $agentFactory = "Microsoft.Exchange.Hygiene.PostContentFilterAgent.PostContentFilterAgentFactory"; ...
agentName = "HeaderAnalysisAgent"; $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent ...
agentName = "HeaderAnalysisAgent"; $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent ...
agentName = "HeaderAnalysisAgent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.HeaderAnalysis.HeaderAnalysisAgentFactory"; ...
agentName = "HeaderAnalysisAgent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.HeaderAnalysis.HeaderAnalysisAgentFactory"; ...
agentName = "HrefUrlExtraction Transport Agent"; $agent = Get-Transportagent -Identity:$agentName; if ($agent) { Uninstall-Transportagent ...
agentName = "HrefUrlExtraction Transport Agent"; $agentFactory = " Microsoft.Exchange.Transport.Agent.HrefUrlExtraction. ...
agentName = "IP Filter Agent"; $agent = get-transportagent -Identity:$agentName -TransportService:FrontEnd; if ($agent) { ...
agentName = "Malware Agent V2"; $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent ...