Open a PowerShell prompt and type the following command to see your current version: powershell $PSVersionTable.PSVersion Use code with caution. If it returns , follow the upgrade steps below. 2. Install .NET Framework 4.5.2
PowerShell is distributed as part of the . To get the latest compatible version for Windows Server 2008 R2, download these packages: Step 1: Prerequisites (.NET Framework) download powershell windows server 2008 r2
Windows Server 2008 R2 includes by default. However, modern administrative tasks often require at least version 5.1 to support current modules and security protocols. Quick Download Links Open a PowerShell prompt and type the following
Be cautious when upgrading PowerShell on servers running , as these applications are strictly tied to PowerShell 2.0. Upgrading to 5.1 can break their management consoles. Install
Download .NET Framework 4.5.2 from the Microsoft Download Center. Download Windows Management Framework 5.1. Select the file: Win7AndW2K8R2-KB3191566-x64.zip . How to Install/Upgrade PowerShell on Server 2008 R2 1. Check Your Current Version
WMF 5.1 requires a newer .NET runtime than the 3.5 version that comes with Server 2008 R2. Run the .NET installer. Restart the server when prompted. Extract the downloaded Win7AndW2K8R2-KB3191566-x64.zip . Double-click the MSU file to begin the installation.
Once finished, you the server for the changes to take effect. Enabling PowerShell (Server Core)