New PowerShell 4.0 updates have been released, part of the Windows Management Framework 4.0 (WMF 4.0). With WMF 5.0 released and then later temporarily retracted from the download center there might be some confusion about who this patch is for, I hope to clear up some of that in this blog post.
Currently WMF 5.0 RTM can be installed on older Windows clients, Windows 7 and Windows 8.1, the updates can be downloaded. On Windows 10 WMF 5.0 is not available as an additional download as Windows Update can be used to update the Windows Management Framework.
Before installing WMF 5.0 on your system, please make sure that you read the released notes as there are currently known incompatibilities with the following products:
It has been a great week at Microsoft TechEd North America, many sessions including PowerShell code. It is a great time to be involved with PowerShell as Microsoft definitely has a very strong focus on this product. As announced by Jeffrey Snover the new preview version has become available this week. It is available for download here:
Most notable new features in this release are the inclusion of PowerShellGet and the improvements on DSC, many of which were already showcased at TechEd this week. Two important things to note before you get started with PowerShell 5 and Windows Management Framework 5.0 are as follows:
First uninstall any previous versions of the WMF preview
Windows Management Framework 5.0 will only install on Windows 8.1 or Server 2012R2
The PowerShell Team has written excellent blog posts on the preview versions they are available here:
Microsoft has released the Windows Management Framework 4.0 Preview. This Framework includes the latest version of PowerShell, version 4.0 and also PowerShell ISE 4.0 and other upgrades to the framework.
It is however important to note that PowerShell 4.0 is not compatible with the same range of systems as PowerShell 3.0 was. Here is the list of supported operating systems:
Windows 7 with Service Pack 1
Windows Server 2008 R2 with Service Pack 1
Windows Server 2012
The download, documentation and more information on the Microsoft site:
Now that Server 2012R2 has been released, PowerShell 4.0 has also become available. Unfortunately it is not yet available as a standalone download, older operating systems will have to wait for the Windows Management Framework to become available as an optional download.
Some notable features that are available for PowerShell 4.0 are as follows:
Desired State Configuration – This allows for configuration of a computer in a way that was previously not possible with PowerShell.
Remote debugging – In PowerShell 4.0 it is now possible to set breakpoints for PSSessions, which allows for easier debugging of scripts that are running remotely
Get-Process now supports User names – No more Get-WmiObject -Class Win32_Process!!
Several language improvements and bug fixes.
For a full list of all changes have a look a the corrosponding TechNet Article which is available here: