ajtsystems
IS-IT--Management
Hi,
I am a noob to Powershell but have some experience in VBScript. I need to know if its possible to telnet into a port (any) and then login. So far I have managed to create a telnet session unsing a cmd shell, but would like to steer away from CMD if possible. are there any other objects in PS that can do this. My code so far...:
$tel = $textbox1.text;
$f = New-Object -com wscript.shell
$f.run("Telnet.exe $tel")
I am a noob to Powershell but have some experience in VBScript. I need to know if its possible to telnet into a port (any) and then login. So far I have managed to create a telnet session unsing a cmd shell, but would like to steer away from CMD if possible. are there any other objects in PS that can do this. My code so far...:
$tel = $textbox1.text;
$f = New-Object -com wscript.shell
$f.run("Telnet.exe $tel")