PowerTip: Find Windows Hotfixes Installed After a Certain Date

Doctor Scripto

Dr Scripto

Summary: Use Windows PowerShell to find hotfixes installed on your laptop running Windows 8 that were installed after a certain date.

Hey, Scripting Guy! Question  How can I find Windows hotfixes installed after a certain date on my Windows 8 laptop by using Windows PowerShell?

Hey, Scripting Guy! Answer  Use the Get-Hotfix function to return installed hotfixes on your Windows 8 laptop, and pipe the results to the Where-Object cmdlet and filter by the installedon property. The following illustrates this technique (? is an alias for the Where-Object cmdlet).

12:35 C:\> Get-HotFix | ? installedon -gt 1/15/2013

Source        Description      HotFixID      InstalledBy          InstalledOn

——        ———–      ——–      ———–          ———–

EDLT          Update           KB2803748     NT AUTHORITY\SYSTEM  1/22/2013 12:00…

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

Leave a comment