Prerequisites
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

Prerequisites
Steps to reproduce
When running the following:
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
Actual behavior
Error details
# count of PowerShell modules is low, and differs each timeEnvironment data
Version
7.4.5
Visuals