How i can update PS version ?

Андрей Михалевский 2,291 Reputation points

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}
PSRemotingProtocolVersion 2.1

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,891 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasileios Dionysopoulos 451 Reputation points

  2. Rich Matheisen 38,831 Reputation points

    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