Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PSVersionTable needs an *OS* key #1997
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.
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,