Link to home
Start Free TrialLog in
Avatar of ckelsoe
ckelsoeFlag for United States of America

asked on

PowerShell get non Microsoft updates?

Hi,

The PowerShell Get-Hotfix command gets a list of Microsoft hotfixes. However, it does not get any of the third party updates that are installed via a msp file. For example, Adobe Reader XI (11.0.11)(1). You can see these via the Control Panel Uninstall an update area.

How can I get the list of updates that would include specific text in the name? In the example above, I would like to see a list of all updates for Adobe*.

I am looking for the equivilent of Get-Hotfix -Description Adobe*

Thanks
ASKER CERTIFIED SOLUTION
Avatar of footech
footech
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ckelsoe

ASKER

Wow - that is some code from the link you provided. Overkill for what I need. I will look for another method.

Thanks
True, it's fairly robust.  I don't know if I would've gone the route it did with creating the XML file and using C# (actually I know I wouldn't).  I think the amount of code could be reduced a great amount by just using custom PS objects.  But the good thing about it is: 1) it's already written; 2) it grabs programs/patches from registry, WMI, etc. instead of just one source so the list should be complete.  And from that list it's easy to filter down to what you need in different scenarios.  You could check out MS Technet Script Respository to see if anyone's written something that's a bit more brief.
Avatar of ckelsoe

ASKER

Does not seem to be a simpler solution possible. This is way more complex that I really need, however, it does achieve the results needed. Thanks much