PowerShellGetv2 icon indicating copy to clipboard operation
PowerShellGetv2 copied to clipboard

Find-Module -Name * not returning all modules

Open bopper-ps opened this issue 3 years ago • 4 comments

When I run Find-Module -Name * it's not returning all of the modules.

I am trying to mirror the PowerShell Gallery on-prem for an offline version but I cannot get a complete list of all of the modules in the PSGallery. Every time I run that command I get a different count for the results.

$MS = Find-Module -Name * -Repository PSGallery

$MS.count
6384

$MS = Find-Module -Name * -Repository PSGallery

$MS.count
6369

$MS = Find-Module -Repository PSGallery -Filter ""

$MS.count
6374

bopper-ps avatar Dec 08 '20 20:12 bopper-ps

Thanks for identifying this issue, we are investigating it further and can reproduce it.

SydneyhSmith avatar Dec 10 '20 18:12 SydneyhSmith

Any update on this?

bopper-ps avatar Mar 17 '21 22:03 bopper-ps

I'm experiencing the same issue. Any update would be great.

jarvin521 avatar Aug 10 '21 16:08 jarvin521

Hi all, this is an issue we're trying to resolve in PowerShellGet V3, definitely by the next prerelease.

anamnavi avatar Aug 12 '21 19:08 anamnavi