How to check PowerShell version?


You can check installed PowerShell version in three ways. Check out the commands below:

PS C:\> $PSVersionTable
Name                           Value
—-                           —–
PSVersion                      5.0.10130.0
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
CLRVersion                     4.0.30319.42000
BuildVersion                   10.0.10130.0
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3

PS C:\> $Host.Version
Major  Minor  Build  Revision
—–  —–  —–  ——–
5      0      10130  0

PS C:\> (Get-Host).Version
Major  Minor  Build  Revision
—–  —–  —–  ——–
5      0      10130  0

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s