Every so often, I need to find an installed program. Until now, I’ve just been typing appwiz.cpl in my cmd.exe or PowerShell.exe window, but that’s inefficient. Moreover, when I have to scan for the given build of a product deployed across the lab, that’s just painful.
Get-InstalledMsi | ? { $_.displayname -match 'office' } | Select-Object -Property computername, displayname, displayversion | fl
ComputerName : TIMDUNN-W520 DisplayName : Microsoft Visual Studio 2010 Tools for Office Runtime (x64) DisplayVersion : 10.0.40303
ComputerName : TIMDUNN-W520 DisplayName : Microsoft Office Professional Plus 2013 - en-us DisplayVersion : 15.0.4496.1000
(etc.)
Here’s the function.