PSResourceGet
PSResourceGet copied to clipboard
Ability to register resource repository without it being used unless explicitly with `-Repository`
Summary of the new feature / enhancement
For testing it'd be great with the ability to Register-PSResourceRepository without it being used by Find-PSResource (and other cmdlets) unless explicitly chosen with -Repository.
Then we can have various test repositorories registered that might not work, but don't break day to day operations with PSResourceGet.
Proposed technical implementation details (optional)
- Add a priority that tells PSResourceGet not to use it by default.
-1?101? - Add an optional parameter switch:
-NonDefault,-Testing? - Add an optional parameter string
-Typethat defaults to'Default'with the option of'Explicit'?