Hey everyone! I'm having a really odd problem with PowerShell on several Windows 10/11 Pro systems. Whenever I try to launch PowerShell from the Command Prompt, I see two red error messages saying 'One or more errors occurred' and that it can't load the PSReadline module, after which PowerShell just closes. I can't even open PowerShell directly or the ISE versions. I've tried running tools like sfc and dism to check for issues, and everything comes back clean. These systems are used by non-power users, and nothing new has been installed recently that could cause this. I've also considered uninstalling PowerShell from Windows features, but that didn't help. After weeks of troubleshooting, I'm out of ideas! Hope you all can help!
1 Answer
Have you tried launching PowerShell with the -noprofile switch? That might help! You could also check the event log for any more useful info on the error.
Yep, I did try that, but I got the same result. The error logs were confusing too!