Windows Defender
Note: If Tamper protection is enabled you will not be able to turn off Defender by CMD or PowerShell. You can however, still create an exclusion.
Disable real time monitoring
Set-MpPreference -DisableRealtimeMonitoring $true
Disable scanning for downloaded files (more silent and preferred)
Set-MpPreference -DisableIOAVProtection $true
Create an exclusion
Add-MpPreference -ExclusionPath "C:\Windows\Temp"
Last updated