PowerShell / PowerShell/PSResourceGet

Get-PSResource should have -Type parameter

Open
#1,075 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-GetPSResource 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 user I would like to list locally installed resources by type. The following helps but it is not too convinient:

Get-PSResource | Where-Object Type -like 'Module'
Proposed technical implementation details (optional)

Add -Type parameter to Get-PSResource:

Get-PSResource -Type Module

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 at the Get-PSResource command implementation and trace how locally installed resources are listed and filtered. Add the requested Type selection so commands such as Get-PSResource -Type Module return only resources of that type, then verify the resulting list against the existing Type values.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
cli
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.