Powershell issues after Windows 11 upgrade #4026
Unanswered
IfallsScott
asked this question in
Q&A
Replies: 1 comment
-
moving discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having issues after I was forced to be an earlier adopter of Windows 11 to test Powershell. I've been unable to get anything to work after the upgrade.
Windows 11 Enterprise version 23H2 OS build 22631.2861
When I fire up the terminal window I'm first given the PSReadline issue and then basically anything I type in next is met with the type initializer error. I'm not sure what to try next.
PowerShell 7.4.2
Cannot load PSReadline module. Console is running without PSReadline.
PS C:\Users\me> abcd
The type initializer for 'System.Management.Automation.TypeAccelerators' threw an exception.
PS C:\Users\me> Get-InstalledModule
The type initializer for 'System.Management.Automation.TypeAccelerators' threw an exception.
PS C:\Users\me>
PS C:\Users\me> Install-Module PSReadline -Scope CurrentUser
The type initializer for 'System.Management.Automation.TypeAccelerators' threw an exception.
PS C:\Users\me>
Beta Was this translation helpful? Give feedback.
All reactions