hello all,
why didn't show get-hotfix all hotfixe?
PS C:\Users\sysadm> $wu_session = New-Object -COM "Microsoft.Update.Session"
$wu_searcher = $wu_session.CreateUpdateSearcher()
$wu_searcher.QueryHistory(0,10000) | Where-Object Title -like "*KB5004779*"
PS C:\Users\sysadm> get-hotfix
Source Description HotFixID InstalledBy InstalledOn
------ ----------- -------- ----------- -----------
ex Update KB5004752 NT AUTHORITY\SYSTEM 12.08.2021 00:00:00
ex Update KB4049065 NT AUTHORITY\SYSTEM 02.02.2018 00:00:00
ex Update KB4486129 ex\Administrator 04.12.2019 00:00:00
ex Security Update KB4520724 NT AUTHORITY\SYSTEM 04.12.2019 00:00:00
ex Security Update KB4535680 NT AUTHORITY\SYSTEM 15.01.2021 00:00:00
ex Security Update KB4576750 NT AUTHORITY\SYSTEM 30.09.2020 00:00:00
ex Update KB4589210 NT AUTHORITY\SYSTEM 11.03.2021 00:00:00
ex Security Update KB4601392 NT AUTHORITY\SYSTEM 10.02.2021 00:00:00
ex Security Update KB5001078 NT AUTHORITY\SYSTEM 26.02.2021 00:00:00
ex Security Update KB5001402 NT AUTHORITY\SYSTEM 12.05.2021 00:00:00
ex Security Update KB5005043 NT AUTHORITY\SYSTEM 12.08.2021 00:00:00