How to Check the PowerShell Version?

Requirement: Get the PowerShell version

How to check the PowerShell version?

PowerShell is a powerful scripting language that enables you to automate tasks, manage your environment, and more. The latest version of PowerShell has brought many new features. Hence, it’s important to know what version of PowerShell you have. Do you know how to get the PowerShell version you are running? Well, in this blog post, we’ll show you how to find out what PowerShell version you’re using in your system.

Open “Windows PowerShell” from start menu >> Type:

$Host.Version

Or you can use:

$PSVersionTable.PSVersion

These cmdlets get you the PowerShell version installed along with Major, and minor versions, build and revision details. You can also use the “$PSVersionTable.PSVersion.Major” cmdlet to determine the major version of PowerShell installed.

how to get powershell version

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published.