I have shortcut which under the hood performs something like that:
C:\Windows\System32\cmd.exe /C "powershell D:\ssh.ps1"
it executes ssh.ps1
script which inside opens SSH to ssh user@$ip
where $ip
comes from variable
but it executes inside cmd
, meanwhile I'd want to start it inside Windows Terminal
- how can I achieve that?