For the complete documentation index, see llms.txt. This page is also available as Markdown.

Install-Package - the following commands are already available on this system

Al intentar instalar el nuevo módulo Devolutions.PowerShell, se produce el siguiente error:

Install-Package: The following commands are already available on this system:'Close-DSSession,Convert-PSCustomObjectToXML,Convert-XMLToPSCustomObject,Convert-XMLToSerializedString,Disable-DSHubSystemVaultPermission,Set-HubUser,Set-HubVault,Set-HubVaultPermission.' This module 'Devolutions.PowerShell' may override the existing commands. If you still want to install this module 'Devolutions.PowerShell', use -AllowClobber parameter.

Solución 1

Desinstale los módulos anteriores: RemoteDesktopManager, Devolutions.Server y Devolutions.Hub.

Estos son los distintos comandos para desinstalarlos: Uninstall-Module RemoteDesktopManager -AllVersions

Uninstall-Module Devolutions.Server -AllVersions

Uninstall-Module Devolutions.Hub -AllVersions

Solución 2

Al ejecutar el cmdlet Get-Module -ListAvailable, si algunos de los módulos siguen visibles en la lista y el tipo de módulo es Binary, deberá eliminarlos manualmente en la ruta indicada.

Última actualización

¿Te fue útil?