The Windows Management Framework v5 Preview was announced and released a few days ago (on April 3, 2014) which includes a preview version of PowerShell version 5.
Be sure to read through the System Requirements on the actual download page before attempting to install this preview version because it’s not recommended to be installed at this time on systems with certain software installed such as Exchange Server 2007.
I didn’t see this stated on the download page and I think it goes without saying, but I wouldn’t recommend installing this preview version in a production environment.
If you want to try out the preview version of PowerShell version 5, you’ll need a machine with either Windows 8.1 Enterprise, Pro, or a machine with Windows Server 2012 R2.
All of those OS’s already have PowerShell version 4 installed by default:
The installation instructions also state that the .NET Framework 4.5 is required which is installed by default on the OS’s that the preview is supported on.
I didn’t see whether or not the full (and not the client) version was required, but the download link points you to the full version and previous versions of PowerShell required the full version of the .NET framework so I’ll double check to make sure it’s installed on my test system:
(Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full').version
Following the download link for the .NET Framework (as shown in the following image) only shows down level OS’s such as Windows 7 and 2008 R2 so that maybe a clue that the release version of PowerShell version 5 will be available on down level OS’s, but that’s only me speculating at this point and nothing official.
Looks like I’m all set. I’ve downloaded the 64 bit version of the preview since my test system is running the 64 bit version of Windows 8.1 Enterprise.
I’ve double-clicked on the downloaded file:
The install completed without issue:
I’ve opened PowerShell and it now shows PowerShell version 5 as the installed version:
I’ll be following up with future blogs on the new features in PowerShell version 5, although as the “Additional Information” section of the WMF 5.0 download page specifies, “Features and behavior are likely to change before the final release.”