I have spent the better part of a day hunting the Internet looking forr a way to download Powershell 2.0 to my already Win7 environment. Windows 7 is supposed to come with PS 2.0 however - I have 1.0.

How do you upgrade Powershell when there is no download made specifically for Windows 7?

link|improve this question
2  
It's weird that your Windows 7 has the version 1.0 when by default it has to have version 2.0. Any idea how this happened? Anyway just to confirm try running the command $psversiontable. If this command gives a result, you have version 2.0. – Thomas Jun 27 '11 at 14:22
feedback

4 Answers

I suspect that you really have 2.0. The 2.0 version installs in a directory named 1.0 which often causes this confusion. In a PS session type:

$host.version

And I suspect that you will see:

Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1
link|improve this answer
feedback

Check out the top link to download it:

http://technet.microsoft.com/en-us/scriptcenter/dd772288

link|improve this answer
feedback

PowerShell 2.0 ships with Windows 7 in the box.

Version 2.0 is integrated with Windows 7 and Windows Server 2008 R2 and is released for Windows XP with Service Pack 3, Windows Server 2003 with Service Pack 2 and Windows Vista with Service Pack 1.

Quoted from Wikipedia

link|improve this answer
feedback

Set to Unrestricted

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell] "Path"="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "ExecutionPolicy"="Unrestricted"

or run in PS- Set-ExecutionPolicy unrestricted

link|improve this answer
The OP is asking about the version of PowerShell installed, not how to enable running scripts. – Rynant Jan 24 at 17:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.