PowerTip: Find the PowerShell Version

Doctor Scripto

Summary: Easily find the installed version of Windows PowerShell.

Hey, Scripting Guy! Question How can I find the installed version of Windows PowerShell?

Hey, Scripting Guy! Answer There are two easy ways.

1. Use the automatic $PSVersionTable variable:

PS C:> $PSVersionTable

Name                           Value

—-                           —–

PSVersion                      3.0

WSManStackVersion              3.0


CLRVersion                     4.0.30319.18033

BuildVersion                   6.2.9200.16434

PSCompatibleVersions           {1.0, 2.0, 3.0}

PSRemotingProtocolVersion      2.2

2. Use the $host automatic variable and to select the Version property:

PS C:> $Host.Version


Major  Minor  Build  Revision

—–  —–  —–  ——–

3      0      -1     -1


Comments are closed. Login to edit/delete your existing comments

Feedback usabilla icon