46,252 questions
PowerShell 7 isn't handling what PS that comes with Windows 10 can do.
Mike Lieberman
1
Reputation point
I have a shortcut to invoke PowerShell to run SSH to connect to another computer on my network.
This works
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe ssh fubar@[ip address]
None of these work:
"C:\Program Files\PowerShell\7\pwsh.exe" ssh fubar@[ip address]
"C:\Program Files\PowerShell\7\pwsh.exe" -ssh fubar@[ip address]
"C:\Program Files\PowerShell\7\pwsh.exe" "ssh fubar@[ip address]"
"C:\Program Files\PowerShell\7\pwsh.exe" "-ssh fubar@[ip address]"
What is the correct way to invoke version 7?
Reply
Community Center | Not monitored
Sign in to answer