Quicktip: Use Windows Defender to scan a file or folder
Quicktip: Use Windows Defender to scan a file or folder
As I was experimenting with the new PowerShell 5.0 cmdlets for Windows Defender I noticed that there is no parameter for starting a custom scan. As a workaround I used the mpcmdrun.exe tool to initiate the scan. For example the following code will execute a custom scan on C:\Temp: & "$($env:programfiles)\Windows Defender\mpcmdrun.exe" -Scan -ScanType 3 -File 'C:\Temp' This allows for scanning a…
View On WordPress












