If I echo $PSVersionTable
in PowerShell, I get what appears to be multiple bits of version information.
The name's of the properties are
CLRVersion
BuildVersion
PSVersion
WSManStackVersion
PSCompatibleVersions
SerializationVersion
PSRemotingProtocolVersion
All except 1 are in a normal version notation (#.#.#
), and the other 1 of them (PSCompatibleVersions) is a set of version numbers ({1.0, 2.0}
)
What does each of these represent?
Additionally: This question was created to dig deeper in response to another question I have asked at What Version of Windows Management Framework is Installed?. A comment there, and other comments in a similar question I linked to there, suggest that $PSVersionTable
can be used to get the version of WMF. If one of these properties does indeed give the WMF version, and is guaranteed to do so, by all means please answer there too. Also, if you can provide any documentation or evidence of a confirmation, I would give you +2 if I could: my Google queries are not yielding anything satisfactory.