PSResourceGet icon indicating copy to clipboard operation
PSResourceGet copied to clipboard

`Find-PSResource` and `Save-PSResource` does not have `-RequiredResource` and `-RequiredResourceFile`

Open o-l-a-v opened this issue 6 months ago • 0 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest released version
  • [x] Search the existing issues.

Steps to reproduce

While looking at #1794 I noticed that Find-PSResource and Save-PSResource does not have -RequiredResource and -RequiredResourceFile.

  • Save-PSResource: Should have feature parity to Install-PSResource, no?
  • Find-PSResource: To write tests for the fix to #1794 it'd be nice if Find-PSResource had these parameters added, then you can test that specific problem without downloading anything.

Expected behavior

See description.

Actual behavior

See description.

Error details


Environment data

Not relevant.

Visuals

No response

o-l-a-v avatar Jul 07 '25 10:07 o-l-a-v