Defender quickscan

From taracodlabs/aiden · View interactive version

Defender quickscan is an AI agent skill from the GitHub repository taracodlabs/aiden. Windows Defender: scans, threat history, signatures (PowerShell)

How to use this skill

Skill file

Defender Quick Scan

Trigger Windows Defender antivirus scans, inspect threat history, update virus definitions, and check real-time protection status — all via PowerShell cmdlets.

When to Use

How to Use

Check Windows Defender status

Get-MpComputerStatus | Select-Object AMServiceEnabled, AntispywareEnabled,
  AntivirusEnabled, RealTimeProtectionEnabled,
  AntispywareSignatureAge, AntivirusSignatureAge, QuickScanAge

Run a quick or full scan

Start-MpScan -ScanType QuickScan   # fast scan of likely threat locations
Start-MpScan -ScanType FullScan    # thorough scan of all files (30-60 min)

Scan a specific file or folder

Start-MpScan -ScanType CustomScan -ScanPath "C:\Users\<you>\Downloads"

Update virus definitions

Update-MpSignature

View threat detection history

Get-MpThreatDetection | Select-Object ThreatID, ActionSuccess,
  DetectionSourceTypeID, Resources, InitialDetectionTime |
  Sort-Object InitialDetectionTime -Descending |
  Select-Object -First 10

View active threats

Get-MpThreat | Select-Object ThreatID, ThreatName, SeverityID,
  CategoryID, IsActive, Resources

Remove a detected threat

Remove-MpThreat -ThreatID 12345

Check exclusion list

(Get-MpPreference).ExclusionPath
(Get-MpPreference).ExclusionExtension

Add a scan exclusion (path)

Add-MpPreference -ExclusionPath "C:\DevTools\node_modules"

Examples

"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

Cautions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.