I was settings up SSH connection so that I can just click the icon then it would connect me to another remote server. I have 2 very similar scripts but one of them doesn't work somehow.
The one that works well:
&"C:\Program Files\PuTTY\putty.exe" -pw "lrIWWI6bB37kxfiCQZqUdOIYfr6eEeqR" -P 2220 "bandit5@bandit.labs.overthewire.org"
The one that the Powershell just pop up and disappear without opening Putty (I ran the code in Powershell ISE, it worked perfectly.):
&"C:\Program Files\PuTTY\putty.exe" -pw "brucetest24534789" "bruce@192.168.103.229"
Is there anyone who knows the reason? I'm thinking if it's a bug with Powershell.
Thank you for all your time,