Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

$cs.File_GetProductVersion(string filepath)

Parameters

filepath

File to retrieve product version from

Example

Code Block
languagepowershell
$filepath="C:\Program Files\Mozilla Firefox\firefox.exe"
$AppVersionInstalled=$cs.File_GetProductVersion($filepath)
if([version]$AppVersionInstalled -eq [version]'10.3.3.99'){#do something}

...