[BUG] PowerShell module uninstall passes truncated package ID containing "..." to Uninstall-Module
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 72/100
调研方向
Start with the uninstall flow that invokes Assets/Utilities/unigetui_ps_operation.ps1 and compare the full package ID with the truncated value shown in the operation log. Reproduce with VMware.PowerCLI.VCenter.Types.ApplianceService, then verify that Uninstall-Module receives the full ID and the module uninstall succeeds.
由索引模型根据 Issue 内容生成。
描述
Please confirm these before moving forward
- I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- I have tested that this issue has not been fixed in the latest (beta or stable) release.
- I have checked the FAQ section for solutions.
- This issue is about a bug (if it is not, please use the correct template).
UniGetUI Version
2026.3.0
Windows version, edition, and architecture
Windows 11 Enterprise 25H2 26200.9278 x64
Describe your issue
Uninstalling VMware.PowerCLI.VCenter.Types.ApplianceService from Installed Packages fails. UniGetUI shows the package name/ID shortened to "VMware.PowerCLI.VCenter.Types.Ap..." and then passes that shortened string, including the "...", to Uninstall-Module. PowerShell reports that no module matches that name
It happens with both normal uninstall and Run as Administrator. I see the same behavior with other PowerShell modules whose very long names are shortened in the package list. I haven't determined an exact name-length cutoff
Expected: UniGetUI uses the full package ID for the uninstall command, regardless of how the name is displayed
Steps to reproduce the issue
- Install the PowerShell Gallery module VMware.PowerCLI.VCenter.Types.ApplianceService. My installed version is 12.6.0.19600125
- Open UniGetUI > Installed Packages and search for "vmware"
- Select the entry shown as VMware.PowerCLI.VCenter.Types.Ap... (source: PowerShell 5.x: PSGallery)
- Uninstall it normally, then retry with Run as Administrator
- Check the operation log. UniGetUI runs Uninstall-Module -Name VMware.PowerCLI.VCenter.Types.Ap... and the operation fails with NoMatchFound
UniGetUI Log
Package uninstall operation for Package=VMware.PowerCLI.VCenter.Types.Ap... with Manager=PowerShell
Executing process with StartInfo:
- FileName: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
- Arguments: [-NoProfile] [-ExecutionPolicy] [Bypass] [-File] [C:\Program Files\UniGetUI\Assets\Utilities\unigetui_ps_operation.ps1] [tls12] [Uninstall-Module] [-Name] [VMware.PowerCLI.VCenter.Types.Ap...] [-Confirm:$false] [-Force] [-ErrorVariable] [UniGetUIOperationError]
PackageManagement\Uninstall-Package : No match was found for the specified search criteria and module names
'VMware.PowerCLI.VCenter.Types.Ap...'.
At C:\Users\<username>\Documents\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ FullyQualifiedErrorId : NoMatchFound,Microsoft.PowerShell.PackageManagement.Cmdlets.UninstallPackage
Process return value: "1" (0x1)
VMware.PowerCLI.VCenter.Types.Ap... could not be uninstalled
Package Managers Logs
N/A — this is a PowerShell module uninstall. The failed PowerShell command and its output are included in the UniGetUI/operation log above
Relevant information
The package list shows both Package Name and Package ID shortened with "...". The same shortened value appears in the executed -Name argument, so this does not appear to be only a visual truncation issue.
Screenshots and videos
No response
- 主要语言
- C#
- 星标
- 26.2k
- 派生
- 929
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 58
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Devolutions/UniGetUI 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
Devolutions/UniGetUI#5430 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
Devolutions/UniGetUI#5029 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
Devolutions/UniGetUI#4918 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
Devolutions/UniGetUI#4768 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 45/100
Devolutions/UniGetUI#5444 ·
维护者通常 1 天内回复
查看 Devolutions/UniGetUI 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
SubtitleEdit/subtitleedit#15462 ·
维护者通常 1 天内回复
-
:watch: Not Triaged
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
comp:instrumentation.aspnetcore
难度 2/5 1-3 小时 新手友好度 72/100
open-telemetry/opentelemetry-dotnet-contrib#5427 ·
维护者通常 1 天内回复
-
design-proposal
难度 2/5 1-3 小时 新手友好度 78/100
dotnet/aspnetcore#69592 ·
维护者通常 1 天内回复
-
Client Container Registry customer-reported needs-team-attention question Service Attention
难度 2/5 1-3 小时 新手友好度 74/100
Azure/azure-sdk-for-net#63470 · 3 条评论 · 1 个 reaction ·
维护者通常 1 天内回复