Run a windows defender scan in windows 10 using POWERSHELL

Occasional Visitor

Folks,

 

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:

 

https://docs.microsoft.com/en-us/powershell/module/defender/start-mpscan?view=win10-ps

 

Hope this helps!

www.000webhost.com