FullyQualifiedErrorId : NoMatchFoundForCriteria.FindPackage Install-Module Posh-SSH -Scope CurrentUser PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'Posh-SSH'. CategoryInfo : ObjectNotFound: (:FindPackage), Exception PackageManagement\Find-Package | Microsoft. Try Get-PSRepository to see all available registered module repositories.Īt C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1360 char:3 Find-Module Posh-SSH PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'Posh-SSH'. After trying find and install PowerShell module with required parameters, in both the error outputs it was asking to run cmdlet Get-PSRepository. I was at one of my client's location and setting up PowerShell enviroment. I was trying to download few PowerShell modules from online PSGallery with below commands, while received the errors.
0 Comments
Leave a Reply. |