PSWindowsUpdate icon indicating copy to clipboard operation
PSWindowsUpdate copied to clipboard

Many updates not shown for -IsInstalled

Open SaintNickRlz opened this issue 1 year ago • 0 comments

Of four updates that were installed only two were found with -IsInstalled, rendering the tool pretty useless for me. The odd thing is, all four are returned in Get-WUHistory.

PS C:\> Get-WUHistory
[redacted]    Installation   Succeeded  9/11/2024 3:24:1... 2024-09 Servicing Stack Update for Windows Server 2016 for x64-based Systems (KB5043124)                                                                                                                 
[redacted]    Installation   Succeeded  9/11/2024 3:24:0... 2024-09 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5043051)                                                                                                                      
[redacted]    Installation   Succeeded  9/11/2024 3:16:0... Security Update for SQL Server 2022 RTM GDR (KB5042211)                                                                                                                                                  
[redacted]    Installation   Succeeded  9/11/2024 3:12:0... Windows Malicious Software Removal Tool x64 - v5.128 (KB890830)                                                                                                                                          

PS C:\> Get-WindowsUpdate -KBArticleID KB890830 -IsInstalled
ComputerName Status     KB          Size Title                                                                                                                                                                                                                      
------------ ------     --          ---- -----                                                                                                                                                                                                                      
[redacted]    -DI----    KB890830    73MB Windows Malicious Software Removal Tool x64 - v5.129 (KB890830)                                                                                                                                                            

PS C:\> Get-WindowsUpdate -KBArticleID KB5042211 -IsInstalled

PS C:\> Get-WindowsUpdate -KBArticleID KB5043051 -IsInstalled

PS C:\> Get-WindowsUpdate -KBArticleID KB5043124 -IsInstalled
ComputerName Status     KB          Size Title                                                                                                                                                                                                                      
------------ ------     --          ---- -----                                                                                                                                                                                                                      
[redacted]    -DI--U-    KB5043124   12MB 2024-09 Servicing Stack Update for Windows Server 2016 for x64-based Systems (KB5043124)

SaintNickRlz avatar Oct 14 '24 11:10 SaintNickRlz