Find version of Chrome browser in registry

Viewed 14979

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.

4 Answers

Here is a script to get GC version and save it in a file on a server. Hope you can use it.

#Set file path to store data
$filepathToStoreData = '\\v-server\Reports\O365ver\version.txt'

#Get Hostname
$hostname = Get-Content env:computername

#Get Google Chrome Version
$GCVersionInfo = (Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Window\CurrentVersion\App Paths\chrome.exe').'(Default)').VersionInfo
#Write-Host $GCVersionInfo.ProductVersion
$GCVersion = $GCVersionInfo.ProductVersion

#Add Date and Time
$CDate = Get-Date

$lineToWriteInFile = "$hostname,$GCVersion,$CDate"


#Writeversions in file
$lineToWriteInFile | Out-File -Encoding unicode -Append $filepathToStoreData
$lineToWriteInFile | Out-File -Encoding unicode -Append '´n'

It appears that this location HKEY_CURRENT_USER\Software\Google\Chrome\BLBeacon now has the version value with the name version

You can try following this path:

Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe').'(Default)').VersionInfo

But I think it is easier to read about the Chrome version visiting the "About" Page. It is faster way in any case, visit this link for more info: https://rocketfiles.com/articles/what-version-of-chrome-do-i-have.

Related