Skip to content

Enhancement Request: Get-Verb -Group parameter #2527

@bcdady

Description

@bcdady

The Get-Verb cmdlet should include a -Group Parameter, or another means of filtering the list of approved verbs.

Steps to reproduce

Per Windows PowerShell 5.0 documentation, Get-Verb Syntax is:
Get-Verb [[-Verb] <string[]>] [<CommonParameters>]

Expected behavior

Get-Verb -Group <Common|Communications|Data|Diagnostic|Lifecycle|Other|Security>
Specifying a -Group Parameter would filter to show only the approved verbs in that Group.
Alternatively, Get-Verb could support a -Filter, or -Include and -Exclude parameter(s)

Actual behavior

Get-Verb enumerates the full list of approved verbs and their corresponding verb group, but does not provide a convenient way to filter and more easily view approved verbs

Environment data

Symptom appears consistent from PSVersions 3.0 - 5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions