# Defender Quickscan

Windows Defender: scans, threat history, signatures (PowerShell)

- Repository: https://github.com/taracodlabs/aiden (868 stars)
- Category: Security
- License: Apache-2.0
- Last updated: 2026-10-19
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add taracodlabs/aiden --skill defender-quickscan -g -a claude-code -y`
Codex: `npx skills add taracodlabs/aiden --skill defender-quickscan -g -a codex -y`
Cursor: `npx skills add taracodlabs/aiden --skill defender-quickscan -g -a cursor -y`
Gemini CLI: `npx skills add taracodlabs/aiden --skill defender-quickscan -g -a gemini-cli -y`

## Description

Windows Defender: scans, threat history, signatures (PowerShell)

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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

- User wants to run a quick or full antivirus scan
- User asks about recent threats detected by Defender
- User wants to check if real-time protection is enabled
- User needs to update virus/malware signatures
- User wants to know the current Defender protection status

## How to Use

### Check Windows Defender status
```powershell
Get-MpComputerStatus | Select-Object AMServiceEnabled, AntispywareEnabled,
  AntivirusEnabled, RealTimeProtectionEnabled,
  AntispywareSignatureAge, AntivirusSignatureAge, QuickScanAge
```

### Run a quick or full scan
```powershell
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
```powershell
Start-MpScan -ScanType CustomScan -ScanPath "C:\Users\<you>\Downloads"
```

### Update virus definitions
```powershell
Update-MpSignature
```

### View threat detection history
```powershell
Get-MpThreatDetection | Select-Object ThreatID, ActionSuccess,
  DetectionSourceTypeID, Resources, InitialDetectionTime |
  Sort-Object InitialDetectionTime -Descending |
  Select-Object -First 10
```

### View active threats
```powershell
Get-MpThreat | Select-Object ThreatID, ThreatName, SeverityID,
  CategoryID, IsActive, Resources
```

### Remove a detected threat
```powershell
Remove-MpThreat -ThreatID 12345
```

### Check exclusion list
```powershell
(Get-MpPreference).ExclusionPath
(Get-MpPreference).ExclusionExtension
```

### Add a scan exclusion (path)
```powershell
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.

The rest: https://github.com/taracodlabs/aiden/blob/HEAD/skills/defender-quickscan/SKILL.md
