PowerShell / PowerShellGet

This module provide functions used with PowerShellGet v3 to provide compatibility with scripts expecting PowerShellGet v2
MIT License
49 stars 13 forks source link

Need to transform -*Version parameters to -Version for all cmdlets that support NuGet version strings #27

Closed sdwheeler closed 1 year ago

sdwheeler commented 1 year ago

Summary of the new feature / enhancement

The following cmdlets in Microsoft.PowerShell.PSResourceGet have a Version parameter that takes a Nuget version range.

The following proxy cmdlet need to have code to transform the *Version parameters to a NuGet version string.

Proposed technical implementation details (optional)

No response

alerickson commented 1 year ago

Closing this issue because both Find-PSResource -CommandName and Find-PSResource -DscResourceName do not allow -Version. This is because it's an extremely costly operation server side.