Hello,
I'm having issues creating a Telnet(Rebex) Putty session using PowerShell. This is what I'm using below to create the session:
$switchGroupName = "$stationGroupName\Switches"
$newSwitchSession = New-RDMSession -Group $switchGroupName -Host $serialIP -Name $sessionName -Type Putty
$newSwitchSession.ImageName = "SYS_CommandLine"
$newSwitchSession.Putty.Port = "$serialPort"
$newSwitchSession.Putty.ProtocolType = "Telnet"
$newSwitchSession.Putty.HistoryMaxLength ="5000"
Set-RDMSession $newSwitchSession
When it gets created, it sets it as an SSH(Rebex) session and not Telnet.
Does anyone have a recommendation for doing this?
Hello,
Could you please try to change the SubMode property to the value 1?$newSwitchSession.SubMode = 1
Best regards,
Érica Poirier
That worked! Thank you very much.