How To Upgrade PowerShell To Latest Version ..

Hello,

By default, with server 2008 R2 Standard Edition and with Windows 7 , Powershell version 2.0 is available. You can check it by using $PSversiontable command.

If you need to upgrade it. You need to run a exe package available from Microsoft. You can do it either through WEB using SDK files(It will require Internet on the target server) or you can Install it Offline.

Here In this Article, we will be Installing it through Offline mode. Because whenever we need it to install in production, Most of the time, Internet access is prohibited on these productions server because of security reasons. In that case, Offline installation mode comes into play and resolves the issue.

First of All, we need to download exe package from Microsoft Official site. Click on the link below and download all package.

Windows Management Framework 4.0

Once you downloaded all package. You need to copy that folder to that server where you want to upgrade PowerShell without Internet Connection. Then you need to Identify Below Exe file and run it. Its for 64 Bit OS.

Windows6.1-KB2819745-x64-MultiPkg

Ir will start Searching this upgrade. and will get you through a simple Installation Windows. Click Next and Install it.

Because this is a upgrade to PowerShell, It will require Server Reboot to complete its installation. Please see the outage windows for this and reboot it as per your convenience.

Once you restart target server and then you need to verify if you were successfully upgraded PowerShell old version to Latest One.

User $PSversiontable command to verify new PowerShell Version.

Notjustlab.wordpress.com.

要查看或添加评论,请登录

社区洞察

其他会员也浏览了