PureStorage-OpenConnect / powershell-toolkit

The Pure Storage PowerShell Toolkit provides a number of different cmdlets ranging from core Windows Server, WMI, WSMAN, & .NET assemblies. The intention of the toolkit is to provide a library for customers and the Pure Storage field to use in troubleshooting, FlashArray reporting & other useful scenarios.
Apache License 2.0
22 stars 6 forks source link

Module/Pkg Version issue with mirroring PSGallery #65

Open barkz opened 2 years ago

barkz commented 2 years ago

Hello everyone. I have small issue with the powershell modules PureStoragePowerShellSDK2 and PureStoragePowerShellToolkit. These modules have a different module version and packaged version number. Example: module PureStoragePowerShellToolkit version is 2.0.4 but the packaged version is 2.0.4.0. This cause a problem when installing from a source repository other than PSGallery. In my situation we are using Inedo ProGet to as an internal mirror for PSGallery. When installing the module from PSGallery there is no issue installing the modules, however, when installing from the mirrored gallery the install says it was successful but the version/package version mismatch causes the modules to not install correctly.

It would be easy to say this is a problem with ProGet since it works with the native PSGallery, but this is not the case. The actual issue lies within PowerShellGallery. While there are workarounds available for ProGet, I thought I'd raise the issue here so that future releases have a matching version and package version thereby negating the issue I've been encountering with the modules. Inedo has documented the issue and tried to interface with Microsoft on resolution but the issue persists.