Open
Description
Summary of the new feature / enhancement
It'd be useful with the ability to exclude one or more tags from the result when using Find-PSResource
, instead of having all results returned, then filter locally.
Example scenarios where this would be helpful:
- All modules made for
PSEdition_Desktop
but notPSEdition_Core
. - All Mac OS only packages.
The API supports it, for instance like so:
- Include "Linux":
substringof(%27Linux%27%2c+Tags)+eq+true
- Exclude "Linux":
substringof(%27Linux%27%2c+Tags)+eq+false
Proposed technical implementation details (optional)
- New parameter
-ExcludeTag
? !
in front of a tag, like this:-Tag 'MacOS', '!Linux'
?