darkoperator / darkoperator/Posh-SSH

How to change the return limit with Invoke-SSHStreamShellCommand

Open
#460 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PowerShell
Stars
1.1k
Forks
222
PR merge metrics
No merged PRs in 30d

Description

Hello,

I tried using Invoke-SSHStreamShellCommand with ShellStrem, but if I want to get a lot of line feedback such as configuring a switch with the show run command, the feedback is copied after about 14 lines. Is it possible to change this behavior.

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Invoke-SSHStreamShellCommand entry point and reproduce the reported behavior with ShellStream and a switch show run command. Trace where the roughly 14-line output limit occurs and determine whether the behavior can be changed. Done means the command returns the expected complete feedback or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.