$agentName = "Safe Attachment Processing Agent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.SafeAttachmentProcessing.SafeAttachmentProcessingAgentFactory"; $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\SafeAttachmentProcessingAgent\Microsoft.Exchange.Transport.Agent.SafeAttachmentProcessing.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 = "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 ...
agentName = "Protocol Filter Agent"; $agent = get-transportagent -Identity:$agentName -TransportService:FrontEnd; if ($agent) ...
agentName = "Safe Attachment Processing Agent"; $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent ...
agentName = "Safe Attachment Processing Agent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.SafeAttachmentProces ...
agentName = "Spam Analysis Routing Agent"; $agentFactory = "Microsoft.Exchange.AntiSpam.SpamAnalysis.RoutingAgent.SpamAnalysisRoutingAgentFactory"; ...
agentName = "System Probe Drop Routing Agent"; $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent ...
agentName = "System Probe Drop Routing Agent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.SystemProbeDrop.Syste ...
agentName = "System Probe Drop Smtp Agent"; $agent = get-transportagent -Identity:$agentName; if ($agent) { uninstall-transportagent ...