Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

PowerTip: Find the PowerShell Version

$
0
0

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

SerializationVersion           1.1.0.1

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


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>