Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find version of Chrome browser in registry

How do I get Chrome version using PowerShell? I tried the following query:

(Get-ItemProperty 'HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Google Chrome').DisplayVersion

This didn't work.

like image 854
Mistletoe Avatar asked Dec 24 '22 16:12

Mistletoe


1 Answers

This is probably what you want (it reads the version of the executable, not a value from the registry):

(Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe').'(Default)').VersionInfo
like image 68
Bill_Stewart Avatar answered Jan 19 '23 00:01

Bill_Stewart