Skip to content

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

@thezim

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions