Summary: Easily find your Windows PowerShell version.
How can I find information about my Windows PowerShell version?
Use the $psversionTable automatic variable with the PSVersion property, for example:
$PSVersionTable.PSVersion.Major
Summary: Easily find your Windows PowerShell version.
How can I find information about my Windows PowerShell version?
Use the $psversionTable automatic variable with the PSVersion property, for example:
$PSVersionTable.PSVersion.Major