Skip to content

PSVersionTable needs an *OS* key #1997

@Jaykul

Description

@Jaykul

We need to be able to at least tell whether we're on Windows or Unix from the PSVersionTable.

Ideally, I'd like to be able to differentiate Windows Server, Windows Desktop, Nano Server, OS X, and BSD from Linux.

Since PSEdition Core runs on Windows (and even Windows Desktop), and since CLRVersion will presumably be the same across all versions of Core (even if it were populated #1984), and since "BuildVersion" is going backwards ...

I also think that PSVersionTable should expose "Architecture" (ARM, AMD64, x86).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions