Hello Guest

How to determine installed PowerShell version

  • 1 Replies
  • 71 Views
*

Offline asd

  • *
  • 2
  • Welcome To Networking Forum
How to determine installed PowerShell version
« on: June 17, 2018, 09:18:42 PM »
How can I determine what version of PowerShell is installed on a computer, and indeed if it is installed at all?

*

Offline admin

  • *****
  • 56
  • Always Crazy to Know More...
    • Networking Study and Your IT Admin
Re: How to determine installed PowerShell version
« Reply #1 on: June 17, 2018, 09:28:44 PM »
Hi ASD,

There is a lots of commands from where you can find the PowerShell version, First two command is best and i am recommending to detect the version, but you can use any of them as all give the same results.

Command List : -
Code: [Select]
get-host
Code: [Select]
$psversiontable
Code: [Select]
$PSVersionTable.PSVersion
Code: [Select]
$Host.Version
Code: [Select]
(Get-Host).Version
Sample Results you will get from bottom three commands
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      15125  221
« Last Edit: June 30, 2018, 08:34:45 PM by admin »
Regards,
YourITadmin