首页 > 解决方案 > Powershell 在启动时崩溃

问题描述

好的,我的powershell在启动时崩溃了。

System.TypeInitializationException: The type initializer for 'System.Management.Automation.TypeAccelerators' threw an exception. ---> System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at System.Management.Automation.CoreTypes.<>c.<.cctor>b__2_0()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Management.Automation.TypeAccelerators..cctor()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Runspaces.EarlyStartup.<>c.<Init>b__0_1()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

有什么帮助吗?它只是基本崩溃。没有其他的。请我需要它。

标签: powershell

解决方案


推荐阅读