I want to scan files/folders by Windows Defender in command line.
I copied whole help from command line to text file and tried it, but it scans anything other and I don't know what really.
I used command:
"C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -3 -File %path%
Where I'm not sure about scan argument - if is req'd to use the word "scan", and if, don't know if is req'd dash before scan type (normally it is not separate argument).
Also argument -File looks like not working.
Can anybody help me to fix it? And for to be sure add argument to see result to avoid else one mistake?
Thank you in advance.