Skip to content

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

Description

Summary of the new feature / enhancement

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

  • Find-PSResource
  • Get-InstalledPSResource
  • Install-PSResource
  • Save-PSResource
  • Uninstall-PSResource
  • Update-PSResource

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

  • Find-Command
  • Find-DscResource

Proposed technical implementation details (optional)

No response

Activity

  1. alerickson commented on May 18, 2023

    @alerickson
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions