microsoft / SQLServerPSModule

This repo is the home of SQL Server PowerShell Module development.
MIT License
51 stars 1 forks source link

Find-Module and Get-Module show inconsistent information for "CompanyName" field #3

Closed Matteo-T closed 2 years ago

Matteo-T commented 2 years ago

Either I'm publishing the module incorrectly or the PSGallery is doing something it should not.

Contrast the output of the following cmdlets:

PS C:\Users\matteot> Get-Module SQLServer -ListAvailable | Select Author,CompanyName

Author                CompanyName
------                -----------
Microsoft Corporation Microsoft Corporation
PS C:\Users\matteot> Find-Module sqlserver -AllowPrerelease  | Select Author,CompanyName

Author                CompanyName
------                -----------
Microsoft Corporation matteot_msft

This issue was reported by https://twitter.com/pitoach/status/1525917723724857345.

Matteo-T commented 2 years ago

Turned out this is a known issue in the PowerShell repo. See issue 267.

Thanks @SteveL-MSFT for pointing that out.