IT Toolbox
Menu
PowerShell · Updates

Show recently installed Windows updates

Lists the most recent Windows hotfixes with their KB identifier and installation date.

Low risk

Command

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 20 HotFixID, Description, InstalledOn, InstalledBy | Format-Table -AutoSize

When to use it

Useful for confirming that a computer received a patch or correlating an incident with a recent update.

How it works

  • Get-HotFix reads updates reported by Windows.
  • The list is sorted from newest to oldest.

Precautions

  • Some modern Windows updates are not exposed through Get-HotFix.

Rollback

No changes are made.

Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI