Get FileVersion - AlivaJG/PSAppDeployToolkit GitHub Wiki
Gets the version of the specified file
Get-FileVersion [-File] <String> [[-ContinueOnError] <Boolean>] [<CommonParameters>]
Gets the version of the specified file
-File <String>
Path of the file
-ContinueOnError <Boolean>
Continue if an error is encountered. Default is: $true.
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
-------------------------- EXAMPLE 1 --------------------------
PS C:>Get-FileVersion -File "$envProgramFilesX86\Adobe\Reader 11.0\Reader\AcroRd32.exe"
To see the examples, type: Get-Help Get-FileVersion -Examples
For more information, type: Get-Help Get-FileVersion -Detailed
For technical information, type: Get-Help Get-FileVersion -Full
For online help, type: Get-Help Get-FileVersion -Online