List Installed Updates with Get-HotFix

Enumerate installed Windows hotfixes and KB numbers in PowerShell, sortable by install date.

WindowsupdatespowershellLow risk
Run Get-HotFix | Sort InstalledOn -Descending | Select HotFixID, Description, InstalledOn to list updates newest-first.

01Command

Command
$ Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object HotFixID, Description, InstalledOn | Format-Table -AutoSize

02What it does

Get-HotFix is a thin wrapper over Win32_QuickFixEngineering and is the quickest scripted answer to 'is KB5031354 installed?' — filter with Get-HotFix -Id KB5031354. Note its blind spots: it lists QFE hotfixes only, not cumulative updates or servicing packages, which are better seen with Windows Update history or DISM /Get-Packages. InstalledOn can be blank for some updates applied before the OS was upgraded.

03Risk

RiskLow risk

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Get-HotFix
    Microsoft Learn · vendor-doc · 2026-09-17
    Evidence: Documents Get-HotFix returning HotFixID, Description, and InstalledOn for Win32_QuickFixEngineering.

Last verified: 2026-09-17 · Category: System & Settings

06Related solutions