Search for Details on Installed Software with Powershell

Posted on Posted in Microsoft, Powershell

Anyone that has ever queried for installed software knows that win32_Product is annoyingly slow.  There are plenty of solutions out there to pull in all installed software, then filter, then act but I wanted something lightweight and could drill down to my target in a single function.  The script below doesn’t validate that targetAttribute name is legit in the registry but can be used to query for any attribute matches you may be targeting.

 

Quick comparison searching for Sketchup using win32_product and this script: