'How can I get Google Chrome's version number?
I am trying to get Google Chrome's version number but I can't find it.
I can see that chrome is installed:

I tried using PowerShell:
get-wmiobject Win32_Product | Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize
but what I get is a list that doesn't contain "Google Chrome" in it.
How can I get Google Chrome's version number?
Solution 1:[1]
you can query the registry key.
(Get-Item (Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe').'(Default)').VersionInfo
its fits your need?
Solution 2:[2]
Here is a solution using Get-WmiObject:
(Get-WmiObject -Class CIM_DataFile -Filter "Name='C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe'" | Select-Object Version).Version
Solution 3:[3]
You can try using this (run in PowerShell 5.1):
$(Get-Package -Name "Google Chrome").Version
Solution 4:[4]
Assuming Chrome was installed to the default directory, you can use:
$ChromePath = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
[System.Diagnostics.FileVersionInfo]::GetVersionInfo($ChromePath).ProductVersion
Solution 5:[5]
You can execute Command on windows cmd
wmic datafile where name="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe" get Version /value
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Saggie Haim |
| Solution 2 | Itchydon |
| Solution 3 | Maksym Ganistrat |
| Solution 4 | dunck |
| Solution 5 | Sachin |
