You can sort the hotfixes by the InstalledOn property.
Get-HotFix | Sort-Object -Property InstalledOn -Descending
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi. How do I find the last KB installed?
PS C:\Windows\system32> Get-HotFix
Source Description HotFixID InstalledBy InstalledOn
VM-VIGROSS... Update KB5013624 NT AUTHORITY\СИСТЕМА 08.06.2022 0:00:00
VM-VIGROSS... Update KB5003791 04.02.2022 0:00:00
VM-VIGROSS... Update KB5026037 NT AUTHORITY\СИСТЕМА 13.03.2024 0:00:00
VM-VIGROSS... Security Update KB5013942 NT AUTHORITY\СИСТЕМА 09.06.2022 0:00:00
VM-VIGROSS... Security Update KB5011352 04.02.2022 0:00:00
VM-VIGROSS... Security Update KB5014032 NT AUTHORITY\СИСТЕМА 09.06.2022 0:00:00
VM-VIGROSS... Security Update KB5003242 04.02.2022 0:00:00
Last KB: KB5026037
You can sort the hotfixes by the InstalledOn property.
Get-HotFix | Sort-Object -Property InstalledOn -Descending
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.