Windows 10 – Get & Export installed Updates
Sometimes it’s good to know which updates are installed on your client. Of course you can choose the regular way via the GUI elements of Windows but than you have no possibilities to export your result for filtering or reporting.
There are different ways to achieve that
- Option 1 – CMD WMI querry
- Option 2 – PowerShell
- Option 3 – DISM
Option 1 – cmd wmi querry
HTML-Export
wmic qfe list full /format:htable > C:\patches.html
CSV-Export
wmic qfe list full /format:csv >C:\patches.csv
Option 2 – PowerShell
The same result can also be achived by using PowerShell:
CSV-Export PowerShell
Get-HotFix | Export-Csv -Path “C:\temp\patches.csv” -NoTypeInformation
if Get-Hotfix isn’t available you can also query the wmi by Powershell
get-wmiobject -class win32_quickfixengineering| Export-Csv -Path “C:\temp\patches.csv” -NoTypeInformation
To display installed “OnDemand Packages”, “Language Packages” or “Foundation Packages” you can run the following command:
$Session = New-Object -ComObject Microsoft.Update.Session $Searcher = $Session.CreateUpdateSearcher() $Searcher.Search("IsInstalled=1").Updates | ft -a Title
Result
Title ----- Update for Japanese Microsoft IME Postal Code Dictionary (KB2734786) Update for Japanese Microsoft IME Standard Dictionary (KB2734786) Update for Japanese Microsoft IME Standard Extended Dictionary (KB2734786) FeatureOnDemandQuickAssist - Windows 10 Version 1703 for x64-based Systems - (KB4016509) LanguageFeatureOnDemand - Windows 10 Version 1703 for x64-based Systems - (KB4016509) [de-DE] LanguageFeatureOnDemand - Windows 10 Version 1703 for x64-based Systems - (KB4016509) [en-US] FeatureOnDemandInternetExplorer - Windows 10 Version 1703 for x64-based Systems - (KB4016509) FeatureOnDemandDirectX - Windows 10 Version 1703 for x64-based Systems - (KB4016509) FeatureOnDemandDotNet35 - Windows 10 Version 1703 for x64-based Systems - (KB4016509) FeatureOnDemandWindowsMediaPlayer - Windows 10 Version 1703 for x64-based Systems - (KB4016509) FeatureOnDemandContactsSupport - Windows 10 Version 1703 for x64-based Systems - (KB4016509) 2017-06 Update for Windows 10 Version 1703 for x64-based Systems (KB4022405) 2017-09 Security Update for Adobe Flash Player for Windows 10 Version 1703 for x64-based Systems (KB4038806) 2017-09 Cumulative Update for Windows 10 Version 1703 for x64-based Systems (KB4038788) Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and Windows Server 2012, 2012 R2, 2016 x64 Edition - September 2017 (KB890830)
Option 3 – dism
To display installed “OnDemand Packages”, “Language Packages” or “Foundation Packages” you can run the following dism command which somtimes could be easier to handle than the PowerShell scripts.
dism /online /Get-Packages /Format:Table
Result
Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.15063.0 Packages listing: -------------------------------------------------------------------------------------------------- | --------- | --------------- | ----------------- Package Identity | State | Release Type | Install Time -------------------------------------------------------------------------------------------------- | --------- | --------------- | ----------------- Microsoft-OneCore-Graphics-Tools-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 4/11/2017 6:02 PM Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~de-DE~10.0.15063.0 | Installed | Language Pack | 3/20/2017 4:41 AM Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.15063.0 | Installed | Language Pack | 10/1/2017 7:10 AM Microsoft-Windows-ContactSupport-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:41 AM Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | Foundation | 3/18/2017 9:06 PM Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:41 AM Microsoft-Windows-LanguageFeatures-Basic-de-de-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:42 AM Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 4/11/2017 6:02 PM Microsoft-Windows-LanguageFeatures-Handwriting-de-de-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:42 AM Microsoft-Windows-LanguageFeatures-OCR-de-de-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:42 AM Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 4/11/2017 6:02 PM Microsoft-Windows-LanguageFeatures-Speech-de-de-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:42 AM Microsoft-Windows-LanguageFeatures-TextToSpeech-de-de-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:42 AM Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:42 AM Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 4/11/2017 6:02 PM Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.15063.0 | Installed | OnDemand Pack | 3/20/2017 4:41 AM Package_for_KB4022405~31bf3856ad364e35~amd64~~10.0.1.2 | Installed | Update | 6/15/2017 5:29 PM Package_for_KB4038806~31bf3856ad364e35~amd64~~10.0.1.0 | Installed | Security Update | 9/12/2017 7:22 PM Package_for_RollupFix~31bf3856ad364e35~amd64~~15063.608.1.23 | Installed | Security Update | 9/12/2017 7:40 PM