PowerShell / PowerShellGallery

236 stars 65 forks source link

PSGallery search returning limited results #292

Open ThomasNieto opened 2 months ago

ThomasNieto commented 2 months ago

Prerequisites

Steps to reproduce

PSGallery search returning limited results

Expected behavior

All results

Actual behavior

Limited results

Error details

No response

Environment data

n/a

Version

n/a

Visuals

image image

BouwenMA commented 2 months ago

I've noticed this issue today as well, getting inconsistent results/counts returned, running from multiple computers (work and home):

Running command: $Mods = Find-Module -Verbose

Work PC #1 - PSH 5

Work PC #2 - PSH 5

Home PC 1 - PSH v5

Home PC 1 - PSH v7.5.3

Home PC #2 - PSH v5

Using Find-PSResource on home PC #1:

PS> $RSC = Find-PSResource -Type Module -Repository PSGallery -Verbose; $RSC.Count 3120

PS> $RSC = Find-PSResource -Type Module -Repository PSGallery -Verbose; $RSC.Count Find-PSResource: Package does not exist on the server 6000

PS> $RSC = Find-PSResource -Type Module -Repository PSGallery -Verbose; $RSC.Count 10789

PS> $RSC = Find-PSResource -Type Module -Repository PSGallery -Verbose; $RSC.Count 3305

KSchu26 commented 1 week ago

+1 Web Gallery Showing 1 or 0 results, even for literally an empty search image