Install-Module -Name VMware.PowerCLI throws PackageManagement\Install-Package : Authenticode issuer

Recently I tried to install VMware PowerCLI for scripting some tasks for ESXi but got this error.

Get-Modules doesn’t show anything. That was strange.

I checked the Powershell Modules folder and found that on this host was an old installation.

I have deleted all folders and re-checked if the operation was successful.

Afterward, I retried the installation and it was completed without issue.

P.S. Don’t forget to use the -AllowClobber parameter to avoid cancellation of installation due to existing cmdlets from the Hyper-V module.

๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡
๐Ÿ’ฌDiscuss or ask a question in the Telegram๐Ÿ’ฌ

๐Ÿ“•ะงะธั‚ะฐั‚ัŒ ัั‚ัƒ ะถะต ัั‚ะฐั‚ัŒัŽ ะฝะฐ ั€ัƒััะบะพะผ ๐Ÿ‘‰ https://dzen.ru/media/samsitblog/installmodule-name-vmwarepowercli-zavershaetsia-oshibkoi-packagemanagementinstallpackage–authenticode-issuer-64da25760d4cf0007ac4cff1


Posted

in

, ,

by