News

Microsoft PowerToys Getting New PowerShell Module

Microsoft is polishing up a new PowerToys utility to improve the user experience on PowerShell in Windows 10 and 11 by suggesting installations of missing components through WinGet packages.

Teased last week in a social media post by Microsoft's Clint Rutkas, the new PowerToy is called "Command Not Found."

"Final touches on a new PowerToy, Command Not Found. We are ironing out the install process now to get everything properly wired up for you all. It is off by default as it requires PowerShell 7.4," said Rutkas, lead for the developer experience for PowerToys.

Command Not Found Post
[Click on image for larger view.] Command Not Found (source: X).

A GitHub pull request, Introduce Command Not Found module #26319, says it: "Introduces a new PowerToy that adds the ability to detect failed commands in PowerShell and suggest a package to install using winget. This PowerToy is powered by a PowerShell module that leverages the new feedback subsystem."

While not a development offering per se, Microsoft PowerToys provides a set of utilities for power users to tune and streamline their Windows experience for greater productivity, including developers who often find themselves needing to use PowerShell.

Current PowerToy Utilities
[Click on image for larger view.] Current PowerToy Utilities (source: GitHub).

As the above screenshot illustrates, PowerToys currently includes 24 separate toys, and its GitHub site now lists the "Command Not Found" toy, but the item link goes to a page not found message. That means not much more information on it is available beyond the social media post by Rutkas, which garnered more than 18,000 views, 148 likes and eight comments.

Other tidbits of information provided by Rutkas in the comment thread include:

  • Comment: This is good to see as a default but I'd also like this to be configurable to shell out to other package managers like @chocolateynuget or others that are used in orgs like SCCM Software Centre as another example so will raise an issue for this if there isn't already one
    Rutkas Reply: How it is being built out, would be super easy for Choco or others to build their own modeling the same pattern
  • Comment: Is it extensible? How does it integrate with powrshell? I wrote the original Ubuntu version all those years ago.
    Rutkas Reply: It uses the feedback api in powershell 7.4. Nothing stopping someone from using ours as a base to build out something custom or do a PR into powertoys.
  • Comment: I wish I could trust that this wont be abused to spread malware or to install its dependencies. Other than that, I like this idea.
    Rutkas Reply: You have to enable the feature + install deps. You see the fully qualified IDs too. same pattern as existing winget search Foo pattern for output + fully qualified ID that you can verify: winget show Microsoft.VisualStudioCode

The new toy is in the works for v0.77, whose work is being carried out here. The full list of work items includes:

  • New utility: Command Not Found
  • Language selection
  • Automated UI testing through WinAppDriver
  • Develop support for Desired State Configuration
  • Modernize and refresh the UX of PowerToys based on WPF.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube