Share via

Powershell problem file cannot be dowenloaded

Mustafa Zeyad 20 Reputation points
2024-08-02T17:32:05.85+00:00

PS C:\WINDOWS\system32> Install-Module -Name Network Testing Companion PackageManagement\Install-Package: No match was found for the specified search criteria and module name 'Network Testing Companion'. Try Get-PSRepository to see all available registered module repositories.

At C:\Program Files\Windows PowerShell\Modules\PowerShell Get\1.0.0.1\PSModule.psm1:1809 char:21 $null = PackageManagement\Install-Package @PSBoundParameters +

+

  • CategoryInfo

: ObjectNotFound: (Microsoft.Power....Install Package:InstallPackage) [Install-

Package), Exception

  • FullyQualified Errorld :

NoMatchFoundForCriteria, Microsoft.PowerShell.PackageManagement.Cmdlets.Install Package

Windows for business | Windows Server | User experience | PowerShell
Community Center | Not monitored

1 answer

Sort by: Most helpful
  1. Michael Taylor 61,226 Reputation points
    2024-08-02T17:56:03.15+00:00

    There is no Network Testing Companion PSGallery package. Packages don't normally have spaces so most likely you were looking for NetworkTestingCompanion which also doesn't exist in the PSGallery.

    Interestingly enough however you can google and it will find such a package in the PSGallery here. But it doesn't show up when searching which leads me to believe it is either not published or it is simply a module file and hence cannot be imported directly.

    I would recommend you simply copy the .psm1 file and place it in your local PS modules and use it directly rather than trying to get it from PSGallery. I'm not sure where you heard about this package but I would recommend you contact the source and let them know about it as I don't know how to contact the author on PSGallery directly.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.