I've trying to write a brief Powershell script which goes through a list of servers and checks if there is a web-browser or web-browsers installed.
I can query a list of installed applications using the following command however this doesn't show if Internet Explorer is installed on the server.
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object {$_.DisplayName -like "*Internet Explore*"} | Select-Object -ExpandProperty DisplayName
Is there a better way to query a registery value for true/false if there is a browser installed?
Also is there a better way to get a list of installed browsers on Windows Server than using the "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall*". Is there an alternative registery location for web-browsers on Windows Server that can be queried?