Skip to content

Find-Module -Name * not returning all modules #75

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

Open
3 tasks done
techthoughts2 opened this issue Sep 4, 2024 · 0 comments
Open
3 tasks done

Find-Module -Name * not returning all modules #75

techthoughts2 opened this issue Sep 4, 2024 · 0 comments

Comments

@techthoughts2
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

When running the following:

$allModules = Find-Module -Name * -Repository PSGallery
$allModules.Count
2812

I am getting a different answer for the number of modules on the PSGallery each time I run the command.

Additionally, these numbers which range from 1900-3000 (approximately) are far lower than the web ui filter of 11k+ indicates.

Expected behavior

$allModules = Find-Module -Name * -Repository PSGallery
$allModules.Count
# count should be close to the published UI count of 11,146 modules

Actual behavior

$allModules = Find-Module -Name * -Repository PSGallery
$allModules.Count
# count is between 1900-3000 and changes each time

Error details

# count of PowerShell modules is low, and differs each time

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.5
PSEdition                      Core
GitCommitId                    7.4.5
OS                             Microsoft Windows 10.0.22635
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

7.4.5

Visuals

image

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