Run a windows defender scan in windows 10 using POWERSHELL

Occasional Visitor



Windows 10 by default doesnt have periodic scanning enabled, to enable that i have to toggle the switch then i am able to scan.


I am looking for a powershell command that can flip this on and another command to get scan results once the scan is finished.


win defender scan.png

1 Reply

Hello @Kes2020,


You can use this cmdlet to run a Windows Defender scan using PowerShell:


Hope this helps!