/history
Shows Windows Update install history.
Synopsis
/history [--count|-n <N>] [--failed] [--kb <KB>] [--json]
Options
| Option | Detail |
|---|---|
--count, -n <N> |
Limit number of rows. |
--failed |
Show failed history entries only. |
--kb <KB> |
Filter by KB number. |
--json |
Print JSON history. |
Behavior
/history is read-only. No Administrator terminal needed.
This is different from interactive command-line history. It reads Windows Update install history.
Examples
/history
/history -n 50
/history --failed
/history --kb KB5034441
/history --json -n 100
Implementation detail: history behavior
Next: /pause