Friday, July 12, 2019

Check the version of PowerShell

How to check the version of PowerShell Installed on the PC?


The Basic command to check the version of the Powershell installed is to use the variable $PSVersionTable




Here the version is given as 2.0 . Where 2 is the Major version and 0 is the minor version

To get the Major and Minor version use the following command



No comments:

Post a Comment

How to suspend an script activity Temporarily ?

There are situations where the script execution needs to be suspended or paused for few milliseconds or seconds. PowerShell Syntax St...