Forum Discussion
Kes2020
Jul 29, 2020Copper Contributor
Run a windows defender scan in windows 10 using POWERSHELL
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.
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!