PowerShell / PowerShell/PowerShell

PowerShell crashes upon startup

Open
#25,278 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs-Triage
Dominant language
C#
Stars
55.5k
Forks
8.5k
Avg merge
1d 2h
Merged PRs (30d)
88

Description

Prerequisites
Steps to reproduce

运行POWER shell 闪退,打不开界面,用CMD运行报错,安装新版本依旧无法解决问题

Image

Windows PowerShell 被终止,返回以下错误:
未能加载文件或程序集“System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。该模块应包含一个程序集清单。

Expected behavior
正常打开运行
Actual behavior
闪退,无法打开
Error details

Environment data
无法打开poershelle,无法运行
Visuals

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or actionable entry point is identified. Start by reviewing the attached error and the missing environment details, then determine whether the failure can be reproduced on a supported Windows installation. Done would require a reproducible cause and confirmation that PowerShell starts normally without the assembly error.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.