need to upgrade the Powershell 4 in 2008 R2

This topic contains 9 replies, has 3 voices, and was last updated by Profile photo of Biswajit Biswajit 3 years, 8 months ago.

  • Author
    Posts
  • #11031
    Profile photo of Biswajit
    Biswajit
    Participant

    I have installed the dot net 4.5. & Windows Management Framework 4.0 Preview but still powershell version is showing 2.
    Also installed the PS ISE from feathers but no luck still showing the below result.

    PS C:\> $host.version.major
    2

  • #11032
    Profile photo of Biswajit
    Biswajit
    Participant

    Any additional step?

  • #11034
    Profile photo of Vern Anderson
    Vern Anderson
    Participant

    The final product is now available

    http://blogs.msdn.com/b/powershell/archive/2013/10/25/windows-management-framework-4-0-is-now-available.aspx

    Maybe this will help?

    I use $PSVersionTable I've never used the one you are showing.

  • #11037
    Profile photo of Don Jones
    Don Jones
    Keymaster

    You should use $PSVersionTable. There's a difference between the version of the host application and the version of the PowerShell engine; you only care about the latter.

  • #11046
    Profile photo of Biswajit
    Biswajit
    Participant

    Pls see this.
    PS C:\> $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
    _______________________________________
    How to get PS vesion 4? Please

  • #11047
    Profile photo of Biswajit
    Biswajit
    Participant

    Installed dotnet 4.5.1. Pls see the below snap.

  • #11049
    Profile photo of Vern Anderson
    Vern Anderson
    Participant

    What version of the OS is this computer running?

    if $PSVersionTable still showing that then your install did not succeed. Make sure your OS is supported by the Management Framework.

    From the bottom of the download page it sounds like only Server 2008 R2 or newer is supported for 4.0.

    We acknowledge that there is still a need for management of Windows Server 2008, and Windows Management Framework 3.0 remains the answer for Windows Server 2008.

  • #11050
    Profile photo of Vern Anderson
    Vern Anderson
    Participant

    Boe Prox just posted this this morning as well. Further proof that Windows 2008 RTM and older OSes may not be eligible for W M Framework 4.0

    http://support.microsoft.com/kb/2819745/en-us

  • #11051
    Profile photo of Vern Anderson
    Vern Anderson
    Participant

    The articles about this are rolling in as we speak. . .

    http://www.happysysadm.com/2013/08/how-to-upgrade-windows-2008-r2-sp1-to.html

    This one may help!

  • #11052
    Profile photo of Biswajit
    Biswajit
    Participant

    Thanks a ton. Vern you made my day :). Issue got fixed.

You must be logged in to reply to this topic.