Skip to content

powershell.exe does not contain all VersionInfo properties. #5034

Closed

Description

@thezim

Steps to reproduce

Get-Item .\powershell.exe | Format-List

Expected behavior

The following contain values.

InternalName:
OriginalFilename:
FileVersion:
FileDescription:
Product:
ProductVersion:

Actual behavior

Name           : powershell.exe
Length         : 78336
CreationTime   : 10/4/2017 5:03:40 PM
LastWriteTime  : 10/4/2017 5:03:40 PM
LastAccessTime : 10/4/2017 5:03:40 PM
Mode           : -a----
LinkType       :
Target         : {}
VersionInfo    : File:
                 C:\Development\Apps\PowerShell\powershell.exe
                 InternalName:
                 OriginalFilename:
                 FileVersion:
                 FileDescription:
                 Product:
                 ProductVersion:
                 Debug:            False
                 Patched:          False
                 PreRelease:       False
                 PrivateBuild:     False
                 SpecialBuild:     False
                 Language:

Environment data

Name                           Value
----                           -----
PSVersion                      6.0.0-beta.8
PSEdition                      Core
GitCommitId                    v6.0.0-beta.8
OS                             Microsoft Windows 6.1.7601 S
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Activity

  1. added
    WG-Maintainers-Build
    on Oct 6, 2017
  2. SteveL-MSFT commented on Oct 6, 2017

    @SteveL-MSFT
    Member

    I believe this is due to dotnet.exe build doesn't insert those resource values. Related #2883

  3. added a commit that references this issue on Oct 27, 2017
    4df7036
  4. added a commit that references this issue on Aug 6, 2026
    9e0434e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-FixedWG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions