The new "Command Not Found" utility has the ability to detect failed commands in PowerShell and suggest installing a package using winget. There's also added support for third-party plugins in PowerToys Run.
https://www.techspot.com/downloads/7185-microsoft-powertoys.html