agentName = "System Probe Drop Smtp Agent"; $agentFactory = "Microsoft.Exchange.Transport.Agent.SystemProbeDrop.SystemProbeDropSmtpAgentFactory"; ...

$agentName = "System Probe Drop Smtp Agent";            $agentFactory = "Microsoft.Exchange.Transport.Agent.SystemProbeDrop.SystemProbeDropSmtpAgentFactory";            $agentAssembly = ($RoleInstallPath + "TransportRoles\agents\SystemProbeDrop\Microsoft.Exchange.Transport.Agent.SystemProbeDrop.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             };
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
italiano
Italian
Português
Portuguese
Русский
Russian