Determine installed PowerShell version

前端 未结 19 2601
半阙折子戏
半阙折子戏 2020-11-22 09:40

How can I determine what version of PowerShell is installed on a computer, and indeed if it is installed at all?

19条回答
  •  天涯浪人
    2020-11-22 10:17

    The below cmdlet will return the PowerShell version.

    $PSVersionTable.PSVersion.Major
    

提交回复
热议问题