Windows 7 - The update is not applicable to the computer when trying to install a patch

0
down vote
favorite

I am performing patch checks on computers that I administer with the PowerShell get-hotfix command on a network. The problem is that this command only reports whether or not the hotfix is ​​installed.

In my case, I would need to query via script if the update could not be installed because it is not applicable to the computer as it shows the system by double-clicking on the .msu patch.

Does anyone know of a possible solution to obtain this information through a command console?

Thank you very much,

A greeting.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.