O
O
Oleg Bezverkhy2019-04-13 15:16:26
Computer networks
Oleg Bezverkhy, 2019-04-13 15:16:26

How can I check remotely installed Windows updates?

There was an interesting task at work. There are instrumentation servers that can sometimes fail, and so on. After a failure, the image is deployed and it often happens that the necessary updates are missing in this image. The security service comes for checks and through the "Control Panel-> Programs and Features-> Installed Updates" and checks against the list.
5cb1d2bad377f376448561.jpeg
Therefore, the task arose of writing an application that would collect information from servers about installed updates over the local network, if it was not in the lists, it would show that there was no such update.
The servers are on their own subnet, Internet access is limited, Active Directory is not configured, WSUS is not worth it.
Therefore, a couple of questions.
1) Maybe there are already ready-made analogues that check the whole thing?
2) Getting a list of updates through a command
wmic qfe get
does not return all updates. Used WMI queries (Win32_QuickFixEngineering: example on github ) - gives the same output as wmic.
It turns out that you can get the entire list only through WUAPI, or are there any other ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mysterion, 2019-04-13
@Mysterion

I think this is what you need.
You can connect to powershell remotely. You can put an SSH server on Windows and connect via SSH, you will get into powershell or cmd, depending on your preferences.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question