Get Quick Fix Engineering (QFE) or HotFix Information

@8arkz — June 20/17 — Added new Get-HotFix cmdlet details and example output from both methods.

Recently I have been tracking down all the updates that I have applied to various Windows machines (servers and clients) in my pod and figured I’d share the simple PowerShell script to capture the details into a txt file. There are a number of different properties that can be selected from the Get-WmiObject call so that is something you can customize for your own needs, in my case I just wanted the type of hotfix, provided in the description, the hotfix id that maps to KB articles and when the hotfix was installed.

Note: Applies to Windows Server all versions.

PS C:\> Get-WmiObject -Class Win32_QuickFixEngineering | Select-Object -Property Description, HotFixID, InstalledOn | Format-Table -Autosize

Description HotFixID InstalledOn 
----------- -------- ----------- 
Update KB3150513 6/5/2017 12:00:00 AM 
Update KB3192137 9/12/2016 12:00:00 AM 
Update KB3199209 10/21/2016 12:00:00 AM
Update KB4013418 5/31/2017 12:00:00 AM 
Security Update KB4019472 6/1/2017 12:00:00 AM

There is also the Get-HotFix cmdlet that can be used with Windows Server 2012, 2012 R2 and 2016.

PS C:\> Get-HotFix

Source Description HotFixID InstalledBy InstalledOn 
------ ----------- -------- ----------- ----------- 
SERVER01 Update KB3150513 NT AUTHORITY\SYSTEM 6/5/2017 12:00:00 AM 
SERVER01 Update KB3192137 NT AUTHORITY\SYSTEM 9/12/2016 12:00:00 AM 
SERVER01 Update KB3199209 NT AUTHORITY\SYSTEM 10/21/2016 12:00:00 AM 
SERVER01 Update KB4013418 NT AUTHORITY\SYSTEM 5/31/2017 12:00:00 AM 
SERVER01 Security Update KB4019472 NT AUTHORITY\SYSTEM 6/1/2017 12:00:00 AM

 

Add Comment

Required fields are marked *. Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.