Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Syntax

<dllobject>.File_GetFileVersion(string filepath)

Parameters

Filepath

File to retrieve version from

Example

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

returns file version as string

  • No labels