Powershell Quick Tip - How do I get the Powershell Version?
I often get asked how to determine the version of Powershell running in an environment. I wish it was a simple as just typing "ver", but alas, it's slightly more complex than that. You'll need this statement:
C
$PSVersionTable.PSVersion
This will output the version table looking like this:PS C:\> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
4 0 -1 -1
EnjoyC