Set-MpPreference -DisableRealtimeMonitoring
disables the first one, what are the specific switches to disable the others you see when you open the UI? I have not found a clear example of this in the docs and I don't feel like running EVERY disable switch because MS docs are bad.
Windows – How to completely turn off Windows Defender from PowerShell
powershellwindowswindows-server-2016
Related Topic
- Windows Hosts File – How to Troubleshoot Ignored Hosts File
- Windows – Why are many admins using ‘Turn off Automatic Root Certificates Update’ Policy
- Powershell module ‘servermanager’ not found on Windows 10
- Windows – Removing failed drive from Storage Pool in Server 2016
- PowerShell DSC – How to Keep Services Running on Windows Server
- Windows Server 2016 completely turn off auto-reboot after updates
Best Answer
After going for hours through the docs: https://docs.microsoft.com/en-us/powershell/module/defender/index?view=win10-ps
Just decided to uninstall it. This works on WS 2016 with PS 5.1.
The below didn't work for me (from a blog dated 2011-2012), but give it a try before you uninstall:
Later edit: Found a way for Windows 10, tested on 20H2 only. Please add a comment if it works for previous builds.