Wednesday 23 January 2013

How do I find what versions of PowerShell I am running?

Inspired by one of my delegates I decided to find out how I could determine the version of PowerShell I was running. Turns out it is really easy!

Open PowerShell and type  $Host.Version

Result should look like this:

image

For PowerShell version 2 the Major value will = 2 and so on..

Thank you Hiroyuki for making me do this

My Blog List