Not Monitored
Tag not monitored by Microsoft.
37,796 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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