⚡ PowerShell 5.1+
Get Installed Hotfixes Report
Queries Win32_QuickFixEngineering via WMI and reports Installed Hotfixes in a formatted table, with an optional CSV export.
Get-QuickFixEngineeringReport.ps1
<#
.SYNOPSIS
Reports Installed Hotfixes on this computer via WMI (Win32_QuickFixEngineering).
.DESCRIPTION
Queries Win32_QuickFixEngineering and displays HotFixID, Description, InstalledOn, InstalledBy for each item found.
Use -ExportPath to also save the results to a CSV file.
.PARAMETER ExportPath
Optional path to a .csv file to write the results to.
.EXAMPLE
.\Get-QuickFixEngineeringReport.ps1
.EXAMPLE
.\Get-QuickFixEngineeringReport.ps1 -ExportPath C:\Reports\quickfixengineering.csv
#>
[CmdletBinding()]
param(
[string]$ExportPath
)
$items = Get-CimInstance -ClassName Win32_QuickFixEngineering | Select-Object HotFixID, Description, InstalledOn, InstalledBy
if (-not $items) {
Write-Host "No Installed Hotfixes found." -ForegroundColor Yellow
return
}
$items | Format-Table -AutoSize
if ($ExportPath) {
$items | Export-Csv -Path $ExportPath -NoTypeInformation -Encoding UTF8
Write-Host "`nExported to $ExportPath" -ForegroundColor Cyan
}