Forum Discussion

CharafGue's avatar
CharafGue
Copper Contributor
Feb 27, 2024

Powershell as telnet client.

Hi @,

 

i'm using PowerShell as a telnet client to connect to a Cisco device.

When I perform some commands, PowerShell cuts off the output, so I don't see the whole thing.

 

please help.

9 Replies

    • CharafGue's avatar
      CharafGue
      Copper Contributor

      Harm_Veenstra 

      I used the command : telnet 192.168.133.131 30005

      the entire output of the "sh run " command is not shown.

      • CharafGue 

        Ok, you're using PowerShell only to start the normal telnet.exe file. Because of that, it jumps out of the session and displays it in telnet.exe and not in PowerShell itself.

         

        I suggest using SSH instead of telnet, there's a module on GitHub that could help.

        https://github.com/Nevets82/Posh-Cisco



        Please click Mark as Best Response & Like if my post helped you to solve your issue.
        This will help others to find the correct solution easily. It also closes the item.

        If one of the posts was helpful in other ways, please consider giving it a Like.

Resources