Error/Fix: PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider ‘NuGet’

PackageManagement\Install-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'
PackageManagementInstall-PackageProvider : No match was found for the specified search criteria for the provider 'NuGet'
Spread the love

Yesterday I was trying to install dbatools powershell module in one virtual machine that I created for online SQL Class.

Resolution:-

In order to solve this issue permanently, I applied following instructions provided on below post of Niels Weistra.

This resolved issue on end, and I was able to install dbatools powershell module successfully.

I hope this would be helpful to someone facing similar issue.  Happy Coding 🙂

2 Comments

  1. Simon

    I successfully installed the Nuget PackageProvider and PowerShellGet Module on a system following the documentation on Microsoft’s website, and then baked a WIM to use for OSD. From there, installing the ChocolateyGet PackageProvider failed with the error “The package provider requires ‘PackageManagement’ and ‘Provider’ tags.” (I’m sure other actions that relied on Nuget/PowerShellGet would fail with the same error, as well.)

    From what I can tell, setting the SchUseStrongCrypto Registry values got things working again.

    Thanks for sharing!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.