Obtenha a versão do arquivo no PowerShell
[System.Diagnostics.FileVersionInfo]::GetVersionInfo("somefilepath").FileVersion
Code with bulbul
[System.Diagnostics.FileVersionInfo]::GetVersionInfo("somefilepath").FileVersion