使用命令行管理程序在特定 Exchange 服務器上禁用惡意軟件篩選:
若要禁用惡意軟件篩選,請運行如下命令:& $env:ExchangeInstallPath\Scripts\Disable-Antimalwarescanning.ps1
服務器
若要從新啓用惡意軟件篩選,請使用 Enable-Antimalwarescanning.ps1
若要驗證是否禁用了惡意軟件篩選,請運行如下命令並確認它是否返回值 False:Get-TransportAgent 「Malware Agent」
ide
使用命令行管理程序在特定 Exchange 服務器上臨時繞過惡意軟件篩選:
若要臨時繞過惡意軟件篩選,請運行如下命令:Set-MalwareFilteringServer -BypassFiltering $true
若要還原惡意軟件篩選,請運行如下命令:Set-MalwareFilteringServer -BypassFiltering $false
若要驗證是否繞過了惡意軟件篩選,請運行如下命令並確認它是否返回值 True:Get-MalwareFilteringServer | Format-List BypassFiltering
命令行
對於AntiSpamAgent,能夠運行如下命令來卸載代理代理
Uninstall-TransportAgent -Identity "Content Filter Agent" Uninstall-TransportAgent -Identity "Sender Id Agent" Uninstall-TransportAgent -Identity "Sender Filter Agent" Uninstall-TransportAgent -Identity "Protocol Analysis Agent"