Impostare esclusioni in windows defender su Windows 2016 Core

Add-MpPreference -ExclusionPath “C:Program FilesSystem Center Operations ManagerGatewayHealth Service State”
Add-MpPreference -ExclusionExtension “.edb”
Add-MpPreference -ExclusionExtension “.chk”
Add-MpPreference -ExclusionExtension “.log”
Add-MpPreference -ExclusionProcess “C:Program FilesSystem Center Operations ManagerGatewayMonitoringHost.exe”

Verificare che le esclusion sono state inserite

$EsPath = Get-MpPreference
$EsPath.ExclusionProcess
$EsPath.ExclusionExtension
$EsPath.ExclusionPath

Impostare esclusioni in windows defender su Windows 2016 Core