Du betrachtest gerade Mit Powershell: Hotfix auslesen
PowerShell Get-Hotfix © MoSi

Mit Powershell: Hotfix auslesen

Unter Windows 7, 8.0, 8.1, 10 können mit Powershell eingespielte Service Pack, Update, Security Update und Hotfix mit Powershell ermittelt werden.

get-hotfix | Sort-Object HotfixID | Where-Object {$_.HotfixID -like "*"} | FT HotFixID, Description -AutoSize

Das Ergebnis kann beispielsweise wie folgt für Windows 7 aussehen:
SP1, PowerShell 5.1 und Abhängigkeiten.

Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\admin> get-hotfix | Sort-Object HotfixID | Where-Object {$_.HotfixID -like "*"} | FT HotFixID, Description -AutoSize

HotFixID  Description
--------  -----------
KB2574819 Update
KB2809215 Update
KB2872035 Hotfix
KB3033929 Security Update
KB3063858 Security Update
KB3138612 Update
KB3191566 Update
KB976902  Update
KB976932  Service Pack
PowerShell Get-Hotfix © MoSi

Oder mit Datum nach Datum sortiert

get-hotfix | Sort-Object InstalledOn | Where-Object {$_.HotfixID -like "*"} | FT HotFixID, Description, @{Name="InstalledOn Date"; Expression={$_.InstalledOn.ToString("yyyy.MM.dd")}} -AutoSize
PS C:\admin> get-hotfix | Sort-Object InstalledOn | Where-Object {$_.HotfixID -like "*"} | FT HotFixID, Description, @{Name="InstalledOn Date"; Expression={$_.InstalledOn.ToString("yyyy.MM.dd")}} -AutoSize

HotFixID  Description     InstalledOn Date
--------  -----------     ----------------
KB2872035 Hotfix          2020.07.04
KB976932  Service Pack    2020.07.04
KB976902  Update          2020.07.04
KB3033929 Security Update 2020.07.04
KB2809215 Update          2020.07.04
KB3138612 Update          2020.07.05
KB2574819 Update          2020.07.05
KB3191566 Update          2020.07.06
KB3063858 Security Update 2020.07.06
PowerShell Get-Hotfix © MoSi

Oder nur Updates und Security Updates

get-hotfix | Sort-Object InstalledOn | Where-Object {$_.HotfixID -like "*" -and $_.Description -like "*Update"} | FT HotFixID, Description, @{Name="InstalledOn Date"; Expression={$_.InstalledOn.ToString("yyyy.MM.dd")}} -AutoSize
PS C:\admin> get-hotfix | Sort-Object InstalledOn | Where-Object {$_.HotfixID -like "*" -and $_.Description -like
"*Update"} | FT HotFixID, Description, @{Name="InstalledOn Date"; Expression={$_.InstalledOn.ToString("yyyy.MM.dd")}} -A
utoSize

HotFixID  Description     InstalledOn Date
--------  -----------     ----------------
KB976902  Update          2020.07.04
KB3033929 Security Update 2020.07.04
KB2809215 Update          2020.07.04
KB3138612 Update          2020.07.05
KB2574819 Update          2020.07.05
KB3191566 Update          2020.07.06
KB3063858 Security Update 2020.07.06