PS> (Get-Command C:\Path\To\Thing.dll).FileVersionInfo.FileVersion 3.1.0.2
The version number parts of the FileVersionInfo
are
Product Field | File Field | Meaning | Example |
---|---|---|---|
ProductVersion | FileVersion | String version | 3.1.0.2 (alpha) |
ProductMajorPart | FileMajorPart | First number | 3 |
ProductMinorPart | FileMinorPart | Second number | 1 |
ProductBuildPart | FileBuildPart | Third number | 0 |
ProductPrivatePart | FilePrivatePart | Fourth number | 2 |