Skip to content

PowerShell 7.5 “Command Not Found” Feature Is Broken Without Stable Dependencies #25863

@jlees100

Description

@jlees100

Prerequisites

Steps to reproduce

Bug Report: PowerShell 7.5 “Command Not Found” Feature Is Broken Without Stable Dependencies

Summary

The “Command Not Found” feature introduced in PowerShell 7.5.2 is misleading and non-functional in most cases. It was promoted as stable, but silently depends on the still-experimental PSFeedbackProvider, which causes it to fail or produce vague suggestions.

Steps to Reproduce

  1. Launch PowerShell 7.5.2
  2. Type a known CLI tool name that is not installed (e.g., ffmpeg, yt-dlp, ripgrep)
  3. Observe the error message and lack of actionable suggestions
  4. Run Enable-ExperimentalFeature PSFeedbackProvider
  5. Restart PowerShell and repeat step 2

Expected Behavior

PowerShell should suggest installing the missing CLI tool via winget or another package manager, as implied by the feature’s documentation.

Actual Behavior

  • Most commands produce only the standard “not recognized” error.
  • jq produces a vague suggestion (“J:”) with no actionable install prompt.
  • No install suggestions are provided for ffmpeg, yt-dlp, ripgrep, or others.
  • The example using powertoys is especially misleading—it suggests installing a GUI tool that doesn’t expose a CLI interface.

Environment Data

$PSVersionTable

### Expected behavior

```console
PS C:\Users\johnl> jq
jq: The term 'jq' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

[General Feedback]
  The most similar commands are:
    ➤ J:

Actual behavior

PowerShell 7.5.2
PS C:\Users\johnl> ffmpeg
ffmpeg: The term 'ffmpeg' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\johnl> yt-dip
yt-dip: The term 'yt-dip' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\johnl> ripgrep
ripgrep: The term 'ripgrep' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\johnl> powertoys
powertoys: The term 'powertoys' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Error details

Environment data

$PSVersionTable
PS C:\Users\johnl> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.5.2
PSEdition                      Core
GitCommitId                    7.5.2
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions