简体   繁体   中英

Powershell 5.1 in Windows 2012 R2

I would like to install/upgrade powershell in my Windows 2012 R2 server. As default w2k12 have 4.0 powershell so I've downloaded Windows Management Framework 5.1 as file: W2K12-KB3191565-x64.msu When I run this - I'm getting error "The update is not applicable to your computer" - ok... researching google FOUND ...

I have to install full version of .NET Framework 4.5.2 - so ok.. Downloading dotNetFx45_Full_setup.exe and RUN.

Error: ""Microsoft .NET Framework 4.5 is already a part of this operating system. You do not need to install the .NET Framework 4.5 redistributable. Same or higher version of .NET Framework 4.5 has already been installed on this computer.:"

OK trying install Developer Version NDP452-KB2901951-x86-x64-DevPack.exe

Trying check if FULL is installed - (Get-ItemProperty -Path 'HKLM:\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full' -ErrorAction SilentlyContinue).Version -like '4.5*' Still false

What is going on ? Why its that hard install latest powerhsell 5.1 in Windows 2012 ? :/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM