Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Windows Defender: scans, threat history, signatures (PowerShell)
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 18% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-05 | ✓→✓ | = Same ✓ | -13% | 0% |
| case-06 | ✓→✓ | = Same ✓ | 136% | 0% |
| case-09 | ✓→✓ | = Same ✓ | 17% | 0% |
Trigger Windows Defender antivirus scans, inspect threat history, update virus definitions, and check real-time protection status — all via PowerShell cmdlets.
powershellGet-MpComputerStatus | Select-Object AMServiceEnabled, AntispywareEnabled, AntivirusEnabled, RealTimeProtectionEnabled, AntispywareSignatureAge, AntivirusSignatureAge, QuickScanAge
powershellStart-MpScan -ScanType QuickScan # fast scan of likely threat locations Start-MpScan -ScanType FullScan # thorough scan of all files (30-60 min)
powershellStart-MpScan -ScanType CustomScan -ScanPath "C:\Users\<you>\Downloads"
powershellUpdate-MpSignature
powershellGet-MpThreatDetection | Select-Object ThreatID, ActionSuccess, DetectionSourceTypeID, Resources, InitialDetectionTime | Sort-Object InitialDetectionTime -Descending | Select-Object -First 10
powershellGet-MpThreat | Select-Object ThreatID, ThreatName, SeverityID, CategoryID, IsActive, Resources
powershellRemove-MpThreat -ThreatID 12345
powershell(Get-MpPreference).ExclusionPath (Get-MpPreference).ExclusionExtension
powershellAdd-MpPreference -ExclusionPath "C:\DevTools\node_modules"
"Scan my Downloads folder for threats" → Start-MpScan -ScanType CustomScan -ScanPath "$env:USERPROFILE\Downloads" — Defender scans the folder and logs any detections.
"Are my virus definitions up to date?" → Get-MpComputerStatus | Select-Object AntivirusSignatureAge, AntivirusSignatureLastUpdated — signature age of 0 means updated today.
"Show me the last 5 threats Defender found" → Get-MpThreatDetection | Sort-Object InitialDetectionTime -Descending | Select-Object -First 5
Start-MpScan requires Windows Defender to be the active antivirus — third-party AV may disable these cmdletsRemove-MpThreat is permanent; confirm with the user before executingOther measured skills in the registry, with their headline benchmark lift.