Posts Tagged ‘WIn32_Product’


July PowerShell One-Liner

Tuesday, July 7th, 2009 by Jeffery Hicks
This month's PowerShell one-liner queries the WMI Win32_Product class for a specified computer and builds a formatted report of all installed applications sorted by vendor. You'll be able to tell at a glance what is installed, when it was installed, where it was installed from and the product version. Be warned that querying this WMI class may take several minutes or longer. This one line expression defaults to the local computer, but you can substitute any computername you want. You can also add support for alternate credentials. I've broken the expression into several lines for publication purposes but this is in fact a oneline expression.   More »