How i can update PS version ?

Андрей Михалевский 3,451 Reputation points
2022-11-17T14:12:49.157+00:00

Hi. I have windows server 2008 R2 without internet. How i can update offline my version ps?

PS C:\Users\Administrator> $PSVersionTable

Name Value
---- -----
CLRVersion 2.0.50727.5420
BuildVersion 6.1.7601.17514
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasileios Dionysopoulos 641 Reputation points
    2022-11-17T14:24:43.087+00:00

  2. Rich Matheisen 47,901 Reputation points
    2022-11-17T19:23:50.127+00:00

    You're currently running PS version 2.0, not 7.0. The two are quite different. The version of PowerShell you're running is "Windows PowerShell". PowerShell 7.0 is a cross-platform version of PowerShell. I'm guessing you might not be happy with version 7 since it lacks many things that administrating a Windows network make easy (e.g., WMI and CIM, among others).

    If you're going to update Windows Powershell, try this: install-powershell-5-windows-server-2008-r2

    If you have software on that machine that depends on earlier versions of WMF, be sure to check with vendors about how to handle upgrading those apps, too (and that includes Microsoft software, too!).

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.