Share via


Download for Powershell v2 for Windows 7? No need... It's already there!

A while back, Microsoft announced the release of PowerShell v2 for Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008 (see https://go.microsoft.com/fwlink/?LinkID=151321).

However, it is not clear to everyone that Powershell v2 is already part of Windows 7 and Windows Server 2008 R2.

I have seen people still asking for the link for PowerShell v2 for Windows 7 and Windows Server 2008 R2. Such download does not exist, since the PowerShell included in the OS is already v2.

Part of this confusion may be due to the fact that the folder in Windows 7 is still called "C:\windows\System32\WindowsPowerShell\v1.0". Maybe it's the fact that we still use the "PS1" file extension. Maybe it's the fact that the file version number for PowerShell.exe is actually "6.1.7600".

Just believe that v2 is already there... OK, maybe you don't believe me. Here's a little cmdlet to confirm it for you. You can launch PowerShell and use "get-host".

That should make it perfectly clear :-)

Comments

  • Anonymous
    January 01, 2003
    Correction - in my quest to download PowerShell, I found it is already available on Windows 7.See these two resources:blogs.technet.com/.../download-for-powershell-v2-for-windows-7-no-need-it-s-already-there.aspx
  • Anonymous
    January 01, 2003
    Actually, it's better to check PSVersion property of automatic variable $PSVersionTable:PS> $PSVersionTableName                           Value----                           -----CLRVersion                     2.0.50727.4927BuildVersion                   6.1.7600.16385PSVersion                      2.0WSManStackVersion              2.0PSCompatibleVersions           {1.0, 2.0}SerializationVersion           1.1.0.1PSRemotingProtocolVersion      2.1If the $PSVersionTable variable doesn't exist, then you are running V1. If it does exist, then the version will be available as $PSVersionTable.PSVersion.Get-PSVersion - http://powershell.com/cs/media/p/2617.aspx-aleksandar
  • Anonymous
    January 01, 2003
    Thank you and thank you for this posting!  Here's why:Count me faked out on two accounts after upgrading from 2.0 CTP3 to 2.0 RTM on my Windows XP laptop: When invoking PowerShell from a 3rd-party add-on, the title barsaid "C:WINDOWSsystem32WindowsPowerShellv1.0" and that's where it is on my XP machine, not just Windows 7/Server 2008 R2 as you noted above.  I remember thinking, "What went wrong with the 2.0 installation?" The 2.0 RTM installation places the Windows PowerShell icon inside a program group that is located in Accessories, whereas the beta installs simply placed a PowerShell icon right off the Programs menu.  Thus I couldn't find the PowerShell icon (but was always too busy to do a full-blown search)/.Thanks again for clearing up a mystery for me.
    • Anonymous
      January 02, 2019
      The comment has been removed