You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
It would make for a nice way to gather information for a bug report. I like. And on Linux, you probably want the specific version i.e. not just Ubuntu but something to distinguish between 14.04 and 16.04. Also, Architecture needs to disambiguate between OS architecture and current process architecture e.g. PowerShell x86 running on Windows x64.
Activity
kilasuit commentedon Aug 21, 2016
Agreed and suggested this in #1936 as well as a change to the Issue template to make issues easier to track
rkeithhill commentedon Aug 21, 2016
It would make for a nice way to gather information for a bug report. I like. And on Linux, you probably want the specific version i.e. not just Ubuntu but something to distinguish between 14.04 and 16.04. Also,
Architectureneeds to disambiguate between OS architecture and current process architecture e.g. PowerShell x86 running on Windows x64.lzybkr commentedon Aug 21, 2016
Dupe of #1635.
Jaykul commentedon Aug 21, 2016
Sorry. I couldn't find it (searching for PSVersionTable is pointless in here)
MaximoTrinidad commentedon Aug 22, 2016
I agree!
+1 for Jaykul
lzybkr commentedon Aug 22, 2016
No problem, I opened it, so I knew it was there. I did search for
PSVersionTablefirst, way too many hits, so addedOSand many fewer hits.