Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[BUG] PowerShell module uninstall passes truncated package ID containing "..." to Uninstall-Module

Cerrado
#5,448 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp, powershell
Área
desktop, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
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
  1. Install the PowerShell Gallery module VMware.PowerCLI.VCenter.Types.ApplianceService. My installed version is 12.6.0.19600125
  2. Open UniGetUI > Installed Packages and search for "vmware"
  3. Select the entry shown as VMware.PowerCLI.VCenter.Types.Ap... (source: PowerShell 5.x: PSGallery)
  4. Uninstall it normally, then retry with Run as Administrator
  5. 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

Lenguaje dominante
C#
Estrellas
26.3k
Forks
939
Merge medio
1 d 1 h
PR fusionados (30 d)
58

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Devolutions/UniGetUI

Todos los issues de Devolutions/UniGetUI

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.