Skip to content

Command not found function unable to install required dependencies #37081

Closed as duplicate of#31935
@oleglucic

Description

Microsoft PowerToys version

0.87.1

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

Command not found

Steps to reproduce

Go to option and click on install

this is log:
System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'pwsh.exe' with working directory 'C:\Users\Oleg\AppData\Local\PowerToys'. The system cannot find the file specified.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Microsoft.PowerToys.Settings.UI.ViewModels.CmdNotFoundViewModel.RunPowerShellScript(String powershellExecutable, String powershellArguments, Boolean hidePowerShellWindow)PowerShell 7.4 or greater not detected. Installation instructions can be found on https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows

✔️ Expected Behavior

It should install required dependencies.

❌ Actual Behavior

It doesn't install anything nor anything happens.

Other Software

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teams

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions