How to perform check for malware using Windows Defender in commandline running Windows 10

May 30, 2020
1 min read
Running the following command in the "Command prompt" with elevated rights
Type the following into the command prompt
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Scan -2
pause

It will show the result in the bottom right corner.
Comments