Viewing the Windows updates installed on your PC from PowerShell helps confirm which patches are present, useful for troubleshooting or verifying an update applied. Windows 11 can list installed updates with their identifiers and dates.
The Command
Get-HotFix | Select-Object HotFixID, InstalledOn, Description
What It Does
`Get-HotFix` lists the installed updates, and selecting these properties shows each update’s KB identifier, the date it was installed, and a brief description of its type. The result is a table of applied updates, letting YYGACOR Resmi you confirm whether a particular fix is present and when updates were installed on the system.
When You’d Use This
This is useful for confirming whether a specific update installed, troubleshooting issues that a particular patch was meant to address, or documenting a system’s update state. When you need to verify that a KB-numbered fix is present, this command checks quickly, which is often exactly what matters when following guidance that depends on a certain update being installed.
Useful Variations
To find a specific update, pipe to `Where-Object { $_.HotFixID -eq ‘KB5000000’ }` with the actual number. To sort by date, add `Sort-Object InstalledOn`. Note that `Get-HotFix` primarily lists servicing updates and hotfixes; the full update history including feature and quality updates also appears in Windows Update settings.
If It Doesn’t Work
If an update you expect is missing, remember `Get-HotFix` does not capture every update type, particularly some cumulative or feature updates, so check the full Windows Update history in Settings for the complete record. If the list is short, that is normal, since it focuses on servicing updates and hotfixes rather than all updates, making Settings the place for the exhaustive history.
Good to Know
`Get-HotFix` does not capture every update type, particularly some delivered as cumulative or feature updates, so the Windows Update history in Settings gives the complete record. Still, this command is a fast way to check for specific KB-numbered fixes, which is often what matters when verifying whether a particular patch is installed.
Putting It Together
The command shown may look dense at first, but it breaks down into clear parts once you have used it a few times. As part of gathering facts about your hardware and Windows setup, this command saves you from digging through settings screens. Together with the others in this area, it lets you document a system’s full configuration or answer a specific specification question in seconds from the terminal. Like anything in the terminal, the real value comes from trying it on your own system and adapting the variations above to what you actually need, so it is worth experimenting with in a safe, low-stakes situation before relying on it in a script or during troubleshooting. Keeping a note of the commands you find most useful, along with the variations that fit your workflow, turns scattered one-off tricks into a personal reference you can draw on whenever a similar task comes up again.