添加所有exe程序进入白名单
powershell Add-MpPreference -ExclusionExtension ".exe"
添加白名单目录
powershell Add-MpPreference -ExclusionPath
wmic /Node:localhost /Namespace:\\Root\Microsoft\Windows\Defender Path MSFT_MpPreference call Add ExclusionPath=C:\
添加白名单进程
powershell Add-MpPreference -ExclusionProcess
添加白名单IP地址
powershell Add-MpPreference -ExclusionIpAddress
Q.E.D.