PowerShell / PowerShell/PSResourceGet

`Get-InstalledPSResource` Should have a `-Type` parameter for filtering different types

Open
#1,423 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Install feature_request
Dominant language
C#
Stars
576
Forks
114
Avg merge
1d 2h
Merged PRs (30d)
7

Description

Summary of the new feature / enhancement

As a user I want to be able to filter the different resources I have installed with an easy paramter similiar to that of Find-PSResource, https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.psresourceget/find-psresource?view=powershellget-3.x#-type

Proposed technical implementation details (optional)

Have a -Type parameter for Get-InstalledPSResource that supports at least the following types:

  • Module
  • Script
  • Command
  • DscResource

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Get-InstalledPSResource entry point and compare its filtering behavior with Find-PSResource, especially the documented -Type parameter. Support filtering for Module, Script, Command, and DscResource, then verify that installed resources are returned correctly for each type.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.