PowerTip: Find the PowerShell Version


Summary: Easily find your Windows PowerShell version.

Hey, Scripting Guy! Question How can I find information about my Windows PowerShell version?

Hey, Scripting Guy! Answer Use the $psversionTable automatic variable with the PSVersion property, for example:

$PSVersionTable.PSVersion.Major

Comments (0)

Skip to main content