Link to home
Start Free TrialLog in
Avatar of Darrell Porter
Darrell PorterFlag for United States of America

asked on

Windows 10 Powershell 5.0 need to update to Powershell 5.1

I have Windows 10 version 10.0.10240 which has Powershell 5.0.
I have to update to Powershell 5.1.
I need the KB article number or a link to the actual update package to update to 5.1 and I am unable to find it.
I cannot install a new version of the OS on this system.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

AKA WMF 5.1 is what you desire
Avatar of Darrell Porter

ASKER

Yes, however none of these options work for Windows 10.
you do realize that 10240 is no longer supported.. why do you have to use this version?
get the newer version of windows 10, you are using windows 10 from 2016 when it came out. the current version is 1909 with the preceding version is 1903.

https://www.microsoft.com/en-us/software-download/windows10
download create an iso or a USB

If you are in a domain environment and are an admin. create a local admin account on the system. disjoin from domain
reboot/login with local admin insert the USB, run the update
once windows is updated, so will your powershell.

on the link, you can download the assistant first and check the system whether it will update.

Make sure you have a good backup before trying..
You cannot upgrade PS on W10, you need to install the corresponding W10 release, which is at least 1607 (build 14393).
So the Windows Update for this version of Windows which is supposed to bring Powershell to 5.1 is no longer available?
David, do you have a Microsoft link to support the claim this version is no longer supported?
This is what I ended up having to do to resolve this situation and get to what I needed.

Stop the Windows Update Service
net stop wuauserv

Stop the Background Intelligent Transfer Service
net stop bits

Stop the Cryptographic Services
net stop cryptsvc

Delete the existing and likely corrupted Software Distribution folder
rd /s /q c:\windows\softwaredistribution

Start Cryptographic Services
net start cryptsvc

Start the Windows Update Service
net start wuauserv

Start the Background Intelligent Transfer Service
net start bits

Restart the computer
After logging in, perform a Windows Update
-------------------------------------------------------------------------------

Installed 4 sets of updates without errors

-------------------------------------------------------------------------------
Now that these 4 update sessions are complete, I have Powershell 5.1
ASKER CERTIFIED SOLUTION
Avatar of Darrell Porter
Darrell Porter
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please post the KB numbers for us to verify why that worked for you.