Skip to content

CLRVersion is missing in $PSVersionTable #1984

Closed

Description

@Jaykul
PS C:\Users\Joel> $PSVersionTable                          

Name                           Value                       
----                           -----                       
WSManStackVersion              3.0                         
PSRemotingProtocolVersion      2.3                         
PSEdition                      Core                        
BuildVersion                   3.0.0.0                     
GitCommitId                    v6.0.0-alpha.9              
CLRVersion                                                 
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}     
PSVersion                      6.0.0-alpha                 
SerializationVersion           1.1.0.1                                                                                

Really nothing more to say here. 😱

Activity

  1. rkeithhill commented on Aug 20, 2016

    @rkeithhill
    Collaborator

    Also, that GitCommitId looks more like a GitCommitTag (or just GitTag) - minor but I guess I would expect an Id to be a SHA1 string.

  2. added
    WG-Engine
    on Sep 29, 2016
  3. added this to the milestone on Sep 29, 2016
  4. iSazonov commented on Apr 12, 2017

    @iSazonov
    Collaborator

    What is "CLRVersion'? In Windows PowerShel it is [Environment]::Version. Today it is hardcoded "4.0.30319.42000"
    I believe we should restore it for backward compatibility.
    And the next question is whether we need something else useful here?

    Starting with 4.6 we switched to a file versioning

    So we would read the version from coreclr.dll - how to find it?

  5. iSazonov commented on Apr 13, 2017

    @iSazonov
    Collaborator

    Steve Lee (@SteveL-MSFT) It seems the question is for @powershell-committee

  6. SteveL-MSFT commented on Apr 13, 2017

    @SteveL-MSFT
    Member

    Dupe of #1395

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-DuplicateWG-Engine

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions