I tried to use get-hotfix, but there is always no response on the list.

I tried to use get-hotfix, but there is always no response on the list.

Hi @60381028
Thank You for in Q & A forum.
You question is already answered in forum, refer to the below url.
Get-WmiObject -Class "win32_quickfixengineering"
If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.
Hi,
Get-HotFix returns only the quick-fix engineering (QFE) updates. Please see if this returns anything.
Get-WmiObject -Class Win32_QuickFixEngineering
If you want to list all kinds of update you could try this
$Session = New-Object -ComObject "Microsoft.Update.Session"
$Searcher = $Session.CreateUpdateSearcher()
$historyCount = $Searcher.GetTotalHistoryCount()
$Searcher.QueryHistory(0, $historyCount) | Select-Object Title, Date
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
I have tried all of these methods, and I still haven't been able to solve them.
Thanks for answering!
What does your Update History show in the System Settings? Are there any hotfixes listened?
I tried the following two operations:
wmic qfe list
Get-WmiObject -Class "win32_quickfixengineering"

I never got a response.
You can try to run this script in Power Shell ISE
$Session = New-Object -ComObject "Microsoft.Update.Session"
$Searcher = $Session.CreateUpdateSearcher()
$historyCount = $Searcher.GetTotalHistoryCount()
$Searcher.QueryHistory(0, $historyCount) | Select-Object Title, Description, Date,
@{name="Operation"; expression={switch($_.operation){
1 {"Installation"}; 2 {"Uninstallation"}; 3 {"Other"}
}}}
HI IDJ90-4393 :
I tried it, but still no response
Have you checked the update history in Windows Update? Are the updates listed there?
What does your Update History show in the System Settings? Are there any hotfixes listened? Settings -> Update and Security -> Show Update History. Please add a screenshot here,
Alright. Seems there are updates installed. Are you using WSUS to deploy updates? If so compare the KB installed on your sytsem with them deployed by WSUS. Are all of them there?
A mentioned here https://docs.microsoft.com/en-us/answers/questions/191945/get-hotfix-not-returning-all-installed-kbs.html
"This Powershell script did the trick and showed all hotfixes. It's the same output as Settings (new) -> Updates and Security -> Update History"
12 people are following this question.