Skip to content

Find-PSResource Minimum Inclusive Version is impossible #120

@JustinGrote

Description

@JustinGrote

Specifying a "bare" version number e.g. 2.1.0 returns that exact version, when the nuget version range spec says it should return the latest version with that as the minimum inclusive version.
image

find-psresource powershellget -version 2.1.0
This should return 2.2.3, but returns 2.1.0

I can understand preserving this behavior to stay compatible and familiar with Find-Module, however as a result there is no way to do a direct inclusive minimum search and you have to do it sort-of indirectly e.g. (2.999.999, 999.999.999]

I recommend adding a -MinimumVersion parameter that would be inclusive minimum and familiar to PSGetv2 users

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions