We have a number of peer-to-peer networks - mostly Windows 10 Pro.
We are using WMI for monitoring events/logs, etc.
We can see Windows update *events* but this doesn't give us Windows update *status* in any direct or easily readable/understandable way.
I suppose the ideal would be a readout of the Settings/Update & Security/Update Status where it says:
- Your device is up to date
- Updates are available
- [are there others?]
And then somehow to report that updates had failed. Perhaps this can be parsed from the Update history?
And then, as an option, show update history.
How can this be done? PowerShell is fine with me / preferable I think....