darkoperator / darkoperator/Posh-SSH

Invoke-SSHStreamExpectAction mandatory parameters

Open
#144 4 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 would like to use this cmdlet to send a command, detect when its done and then get the result into a txt file.
but I can't use the Invoke-SSHStreamExpectAction to detect when the command is done because then it would send the Action parameters which would erase the result of the command I invoked.
Is it possible to change the mandatory parameters ?

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-SSHStreamExpectAction cmdlet and inspect how its mandatory Action parameters are defined and used when detecting command completion. Determine the intended behavior for callers that only need to detect completion and capture output, then verify that the cmdlet still handles the existing invocation pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.