Ctrl-Space 时 PowerShell ISE 崩溃

PowerShell ISE Crash on Ctrl-Space

我是 运行 PowerShell 5.1 on Windows 10。在 ISE 中,只要我按 ctrl-space 获取参数选项,我就会遇到这个错误。如何修复此问题以使其不再崩溃?

---------------------------
Windows PowerShell ISE - Error
---------------------------
An unexpected error has occurred, and Windows PowerShell ISE must close.
---------------------------
OK   
---------------------------

这是错误的剪辑。 https://1drv.ms/v/s!AiMOucOyxOOXpv9HNcBhtRB_3EenRQ

这是在我的事件日志中找到的错误消息:

Fault bucket 1812796752988013931, type 5
Event Name: PowerShell
Response: Not available
Cab Id: 0

Problem signature:
P1: PowerShell_ISE.exe
P2: 10.0.17133.73
P3: System.NullReferenceException
P4: System.Reflection.TargetInvocation
P5: indows.PowerShell.GuiExe.Internal.GPowerShell.Main
P6: System.RuntimeMethodHandle.InvokeMethod
P7: unknown
P8: 
P9: 
P10: 

Attached files:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERCFC.tmp.WERInternalMetadata.xml
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD1C.tmp.xml
WPR_initiated_DiagTrackMiniLogger_One Trace User Logger_20180413 Event Collector_0_inject.etl
\?\C:\Users\Tim\AppData\Local\Temp\WERD8A.tmp.etl
WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl
\?\C:\Users\Tim\AppData\Local\Temp\WERD8B.tmp.etl
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD88.tmp.csv
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERDA9.tmp.txt

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\Critical_PowerShell_ISE.e_e2745585682c4b8155c7a88cbc449178e619e3d_00000000_11751de4

Analysis symbol: 
Rechecking for solution: 0
Report Id: e623efbd-07de-433c-864a-d66b781fec1a
Report Status: 268435456
Hashed bucket: af516355a9c3f706f928590acfd5056b
Cab Guid: 0

您似乎正在使用内幕预览。智能感知有两个已知问题,它要么导致致命错误,要么不填充(显示灰点)。

这应该通过 Microsoft Feedback hub - 搜索 "powershell ISE Intellisense not working" 报告。

我知道这肯定会影响版本 17093-17133。