Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find-Package : No match was found for the specified search criteria and package name #11

Open
flotpg opened this issue Jan 15, 2021 · 0 comments

Comments

@flotpg
Copy link

flotpg commented Jan 15, 2021

Hi,

I can't use it anymore, it worked 1-2 years ago - did something change?

Add-SCCMChocoApplication -chocourl "https://chocolatey.org/packages/greenshot" -CMUserCollectionName "All Users" -IconsDir D:\SCCM_Library\Choco\Icons -CMSiteCode TPG
the specified search criteria and package name 'greenshot'.
At C:\Choco_PowerShellModule\SCCMChoco.psm1:241 char:16
+ $package = Find-Package -Name $packageid -ProviderName chocolatey
+ CategoryInfo : ObjectNotFound: (Microsoft.Power...ets.FindPackage:FindPackage) [Find-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.FindPackage

Cannot find package, please verify if the URL is valid.

C:\Choco_PowerShellModule\SCCMChoco.psm1:244 char:9
+ throw "########### Cannot find package, please verify if th ...
+ CategoryInfo : OperationStopped: (########### C...d. ############:String) [], RuntimeException
+ FullyQualifiedErrorId : ########### Cannot find package, please verify if the URL is valid. ############

CleanShot 2021-01-15 at 17 30 24

Any ideas? Thx a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant