Upgrade PowerShell 4.0 Windows 2008 R2 SP1

5
Upgrade PowerShell 4.0 on Windows Server 2008 R2 i | Page Table of Contents Overview ....................................................................................................................................................... 1 Applies To...................................................................................................................................................... 1 Pre-requisites ................................................................................................................................................ 1 Verify – PowerShell Version .......................................................................................................................... 1 Install – .Net Framework............................................................................................................................... 1 Install – .Net Framework (Progress) ..................................................................................................... 2 Install – .Net Framework (complete) .................................................................................................... 2 Install – Windows Management Framework ................................................................................................ 3 Install WMF – Restart............................................................................................................................ 3 Install PowerShell – Validation ..................................................................................................................... 4 Install PowerShell – Compatible Versions .................................................................................................... 4

Transcript of Upgrade PowerShell 4.0 Windows 2008 R2 SP1

Page 1: Upgrade PowerShell 4.0 Windows 2008 R2 SP1

Upgrade PowerShell 4.0 on Windows Server 2008 R2

i | P a g e

Table of Contents Overview ....................................................................................................................................................... 1

Applies To ...................................................................................................................................................... 1

Pre-requisites ................................................................................................................................................ 1

Verify – PowerShell Version .......................................................................................................................... 1

Install – .Net Framework ............................................................................................................................... 1

Install – .Net Framework (Progress) ..................................................................................................... 2

Install – .Net Framework (complete) .................................................................................................... 2

Install – Windows Management Framework ................................................................................................ 3

Install WMF – Restart ............................................................................................................................ 3

Install PowerShell – Validation ..................................................................................................................... 4

Install PowerShell – Compatible Versions .................................................................................................... 4

Page 2: Upgrade PowerShell 4.0 Windows 2008 R2 SP1

Upgrade PowerShell 4.0 on Windows Server 2008 R2

1 | P a g e

Overview

The purpose of this guide is to install PowerShell 4.0 version on windows Server 2008 R2.

Applies To

Windows Server 2008 R2.

Pre-requisites

1. Windows 2008 R2 Service Pack 1

2. http://www.microsoft.com/en-us/download/details.aspx?id=40779 (Microsoft .NET Framework 4.5.1

(Offline Installer))

3. http://www.microsoft.com/en-us/download/details.aspx?id=40855 ( Windows Management Framework

4.0 )

Note: After installing the .Net Framework 4.5.1 and WMF 4.0 reboot the host.

Verify – PowerShell Version

Before upgrading the new version, know the PowerShell version installed run the below command

Get-Host

Install – .Net Framework

Download and install .Net 4.5.1 Framework from the below link

http://www.microsoft.com/en-us/download/details.aspx?id=40779

Page 3: Upgrade PowerShell 4.0 Windows 2008 R2 SP1

Upgrade PowerShell 4.0 on Windows Server 2008 R2

2 | P a g e

Install – .Net Framework (Progress)

Download and install .Net 4.5.1 Framework from the below link

Install – .Net Framework (complete)

Click on “Finish” button to complete the installation.

Page 4: Upgrade PowerShell 4.0 Windows 2008 R2 SP1

Upgrade PowerShell 4.0 on Windows Server 2008 R2

3 | P a g e

Install – Windows Management Framework

Download and install Windows Management Framework 4.0 (WMF) package from the below link.

http://www.microsoft.com/en-us/download/details.aspx?id=40855

Install WMF – Restart

After WMF 4.0 installation, click on “Restart” button.

Page 5: Upgrade PowerShell 4.0 Windows 2008 R2 SP1

Upgrade PowerShell 4.0 on Windows Server 2008 R2

4 | P a g e

Install PowerShell – Validation

After successful install of the packages and reboot of the host; new version is updated, run the below

command.

Get-Host

Install PowerShell – Compatible Versions

After upgrading PowerShell, load PowerShell Version run the below command and to know the

compatible versions the currently loaded PowerShell run next command line.

PowerShell -version 4.0

$psversiontable