Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Randomly can't run commands in PowerShell

$
0
0

I'm trying to run SSH from PowerShell and it says that ssh isn't recognized as a cmdlet, function, script file etc.

I knwo for a fact that the path to ssh.exe is in my path as I can is it from a normal cmd prompt. I can use other non PowerShell commands in PowerShell such, but there are other random commands that don't work also.

ssh.exe is in C:\Program Files (x86)\OpenSSH\bin and that is 100% in my path variable. I can print out $env:path and I see it there. Why would this be?

Kyle


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>