Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I work primarily on a Windows 7 machine; sometimes on a Windows 2003 R2 server or a Windows 2008 R2 server. Its my understanding that Windows 7 and Windows 2008 both come with PowerShell 2, and maybe Windows 2003 comes with PowerShell 2. However, when I do a Run | Powershell, the title of the window that PowerShell runs in shows it using version 1 of PowerShell. How do I run version 2?

share|improve this question
Which OS is that on? What does $Host.Version say? – Indrek Jun 18 '12 at 16:03
up vote 6 down vote accepted

I suspect what you mean is a path where PS is stored (that may be shown in a title). It has very little to do with actual PowerShell version. The best test is to type: $PSVersionTable.


v1 > nothing displayed
v2, 3 and probably all future versions -> info about current version returned.

share|improve this answer
Thank you, I didn't know about $PSVersionTable. Handy. You're correct, when I issue that command I get version 2, which is all I have on this machine. Thanks again! – Rod Jun 21 '12 at 19:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .