Upgrading Powershell on Windows Server 2008 R2
The latest version of Powershell, version 4, has been released by Microsoft in late October 2013. It brings a lot of additional functionality and performance improvements to the table. This document covers how to upgrade Powershell from your current version to Powershell 4.0.
Powershell 4.0 is now included as part of the Windows Management Framework 4.0 which bundles together a few additional providers. Windows Management Framework 4.0 can be downloaded from Microsoft at the following link:
To check your current version of Powershell open up a Powershell command prompt. In the prompt type $host and press enter. You should see something similar to the following:
If it says version 4.0 your current, anything less and you may want to upgrade to the latest version.
It's important to note that there are multiple packages available for installation and download. You need to choose the right package for your operating system. As per the release notes on the download page:
Windows 7 SP1
Windows Server 2008 R2 SP1
Windows Server 2012