How To Determine Installed Powershell Version?

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/determine-installed-powershell-version/
PINTEREST
PINTEREST
INSTAGRAM

Powershell provides different features according to its version. Here knowing the version of the Powershell become a necessity. There are different methods to get version of Powershell from easy to hard.

Using PSVersionTable Environment Variable

Simplest and reliable solution is using environment variable. PSVersionTable variable provides PSVersion key for the version.

Using PSVersionTable Environment Variable

Using PSVersionTable Environment Variable

  • Major column shows the real version.
  • If there is no result it is safe to assume version 1
RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/determine-installed-powershell-version/
PINTEREST
PINTEREST
INSTAGRAM

LEARN MORE  Nmap Script and Version Scan

You may also like...

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)